소스 검색

对接webservice

larry 5 년 전
부모
커밋
0db66c73fa

+ 3 - 1
src/main/java/com/chinaitop/depot/feign/FeignBasicService.java

@@ -5,6 +5,8 @@ import org.springframework.web.bind.annotation.RequestMapping;
5
 import org.springframework.web.bind.annotation.RequestMethod;
5
 import org.springframework.web.bind.annotation.RequestMethod;
6
 import org.springframework.web.bind.annotation.RequestParam;
6
 import org.springframework.web.bind.annotation.RequestParam;
7
 
7
 
8
+import javax.servlet.http.HttpServletRequest;
9
+
8
 @FeignClient(name = "depot-basic")
10
 @FeignClient(name = "depot-basic")
9
 public interface FeignBasicService {
11
 public interface FeignBasicService {
10
 
12
 
@@ -12,4 +14,4 @@ public interface FeignBasicService {
12
     @RequestMapping(value="/Warehouse/updateWarehouseCrkStatus", method=RequestMethod.POST)
14
     @RequestMapping(value="/Warehouse/updateWarehouseCrkStatus", method=RequestMethod.POST)
13
     void updateWarehouseCrkStatus(@RequestParam(value = "wareId") Integer wareId, @RequestParam(value = "crk_status") String crk_status);
15
     void updateWarehouseCrkStatus(@RequestParam(value = "wareId") Integer wareId, @RequestParam(value = "crk_status") String crk_status);
14
 
16
 
15
-}
17
+}

+ 1 - 1
src/main/java/com/chinaitop/depot/pushs/service/PushscheckService.java

@@ -10,6 +10,6 @@ public interface PushscheckService {
10
 	String downFcInfo(String orgId, String cfId, String hwId);
10
 	String downFcInfo(String orgId, String cfId, String hwId);
11
 
11
 
12
 
12
 
13
-
13
+//提交
14
 
14
 
15
 }
15
 }

+ 1 - 1
src/main/java/com/chinaitop/depot/pushs/service/impl/PushcheckServiceImpl.java

@@ -43,7 +43,7 @@ public class PushcheckServiceImpl implements PushscheckService {
43
 		mapData.put("fcNumber", fcNumber);
43
 		mapData.put("fcNumber", fcNumber);
44
 		return JSON.toJSONString(ResponseEntity.ok(mapData));
44
 		return JSON.toJSONString(ResponseEntity.ok(mapData));
45
 
45
 
46
-
46
+//提交
47
 	}
47
 	}
48
 
48
 
49
 
49
 

+ 6 - 3
src/main/resources/bootstrap.yml

@@ -35,9 +35,9 @@ spring:
35
   session:
35
   session:
36
     store-type: redis
36
     store-type: redis
37
   redis:
37
   redis:
38
-    database: 0
38
+    database: 1
39
     host: 172.16.0.46
39
     host: 172.16.0.46
40
-    port: 6379
40
+    port: 6679
41
     password: 123456
41
     password: 123456
42
     timeout: 3000
42
     timeout: 3000
43
     jedis:
43
     jedis:
@@ -61,4 +61,7 @@ web:
61
 crk-webservice: /Base/webServices/StoreChangeServer?wsdl
61
 crk-webservice: /Base/webServices/StoreChangeServer?wsdl
62
 
62
 
63
 #省平台倒仓审批接口
63
 #省平台倒仓审批接口
64
-report-Url: http://192.168.123.132:88/api
64
+report-Url: http://192.168.123.132:88/api
65
+
66
+cxf:
67
+  path: /qualitycheckweb