wangfeng hace 5 años
padre
commit
308d2ade72

+ 3 - 3
config-server/src/main/resources/shared/tran-service-dev.yml

@@ -115,6 +115,6 @@ io.github.lvyahui8.spring:
   thread-number: 12
 
 nalizx:
-  apiUrl: TODO
-  appKey: TODO
-  appSecret: TODO
+  apiUrl: http://ssltest.ngarihealth.com/openapi-feature5/gateway
+  appKey: ngari5e7dd28111dc391a
+  appSecret: 11dc391a123e1002

+ 3 - 3
config-server/src/main/resources/shared/tran-service-local.yml

@@ -115,6 +115,6 @@ io.github.lvyahui8.spring:
   thread-number: 12
 
 nalizx:
-  apiUrl: TODO
-  appKey: TODO
-  appSecret: TODO
+  apiUrl: http://ssltest.ngarihealth.com/openapi-feature5/gateway
+  appKey: ngari5e7dd28111dc391a
+  appSecret: 11dc391a123e1002

+ 3 - 3
config-server/src/main/resources/shared/tran-service-pre.yml

@@ -115,6 +115,6 @@ io.github.lvyahui8.spring:
   thread-number: 12
 
 nalizx:
-  apiUrl: TODO
-  appKey: TODO
-  appSecret: TODO
+  apiUrl: http://ssltest.ngarihealth.com/openapi-feature5/gateway
+  appKey: ngari5e7dd28111dc391a
+  appSecret: 11dc391a123e1002

+ 3 - 3
config-server/src/main/resources/shared/tran-service-pro.yml

@@ -115,6 +115,6 @@ io.github.lvyahui8.spring:
   thread-number: 12
 
 nalizx:
-  apiUrl: TODO
-  appKey: TODO
-  appSecret: TODO
+  apiUrl: http://ssltest.ngarihealth.com/openapi-feature5/gateway
+  appKey: ngari5e7dd28111dc391a
+  appSecret: 11dc391a123e1002

+ 3 - 3
config-server/src/main/resources/shared/tran-service-test.yml

@@ -115,6 +115,6 @@ io.github.lvyahui8.spring:
   thread-number: 12
 
 nalizx:
-  apiUrl: TODO
-  appKey: TODO
-  appSecret: TODO
+  apiUrl: http://ssltest.ngarihealth.com/openapi-feature5/gateway
+  appKey: ngari5e7dd28111dc391a
+  appSecret: 11dc391a123e1002

+ 3 - 3
tran-service/src/main/java/com/diagbot/facade/InquiryTriageFacade.java

@@ -140,7 +140,7 @@ public class InquiryTriageFacade extends InquiryTriageServiceImpl {
 
         Map<String, Object> body = new HashMap<>();
         body.put("disDeptist",saveInquiryVO.getDisDeptist() );
-        //body.put("patName", saveInquiryVO.getPatName());
+        body.put("hospitalCode", saveInquiryVO.getHospitalCode());
         body.put("patAge", saveInquiryVO.getPatAge());
         body.put("patSex", saveInquiryVO.getPatSex());
         body.put("idType", saveInquiryVO.getIdType());
@@ -150,9 +150,9 @@ public class InquiryTriageFacade extends InquiryTriageServiceImpl {
         bodyList.add(body);
 
         //X-Service-Id对应的值
-        String serviceId = "consult.questionRecordService";
+        String serviceId = "consult.diagnoseService";
         //X-Service-Method对应的值
-        String method = "saveQuestionRecord";
+        String method = "findConsultDocByDiagnose";
         return new Request(serviceId, method, bodyList);
     }