1098226878@qq.com 4 年 前
コミット
095bdce142

+ 3 - 2
service-api/src/main/java/com/java110/api/smo/payment/impl/ToPayTempCarFeeSMOImpl.java

@@ -90,8 +90,9 @@ public class ToPayTempCarFeeSMOImpl extends AppAbstractComponentSMO implements I
 
 
         //查询用户ID
         //查询用户ID
         paramIn.put("userId", pd.getUserId());
         paramIn.put("userId", pd.getUserId());
-        String url = "tempCarFee.getTempCarFeeOrder?paId=" + paramIn.getString("paId") + "&carNum=" + paramIn.getString("carNum");
-        responseEntity = super.callCenterService(restTemplate, pd, "", url, HttpMethod.GET);
+        String url = "tempCarFee.getTempCarFeeOrder";
+       // responseEntity = super.callCenterService(restTemplate, pd, "", url, HttpMethod.GET);
+        responseEntity = super.callCenterService(restTemplate, pd, paramIn.toJSONString(), url, HttpMethod.POST);
 
 
         if (responseEntity.getStatusCode() != HttpStatus.OK) {
         if (responseEntity.getStatusCode() != HttpStatus.OK) {
             return responseEntity;
             return responseEntity;

+ 2 - 1
service-fee/src/main/java/com/java110/fee/cmd/tempCarFee/GetTempCarFeeOrderCmd.java

@@ -80,9 +80,10 @@ public class GetTempCarFeeOrderCmd extends AbstractServiceCmdListener {
         }
         }
         fee.put("receivedAmount", receivedAmount);
         fee.put("receivedAmount", receivedAmount);
         fee.put("oId", GenerateCodeFactory.getGeneratorId(GenerateCodeFactory.CODE_PREFIX_oId));
         fee.put("oId", GenerateCodeFactory.getGeneratorId(GenerateCodeFactory.CODE_PREFIX_oId));
+        ResponseEntity<String> responseEntitys = new ResponseEntity<>(fee.toJSONString(), HttpStatus.OK);
         fee.putAll(reqJson);
         fee.putAll(reqJson);
         CommonCache.setValue("getTempCarFeeOrder" + fee.getString("oId"), fee.toJSONString(), 24 * 60 * 60);
         CommonCache.setValue("getTempCarFeeOrder" + fee.getString("oId"), fee.toJSONString(), 24 * 60 * 60);
-        cmdDataFlowContext.setResponseEntity(responseEntity);
+        cmdDataFlowContext.setResponseEntity(responseEntitys);
     }
     }
 
 
     private double checkCouponUser(JSONObject paramObj) {
     private double checkCouponUser(JSONObject paramObj) {