Browse Source

修复自动退款的参数错误。

lighter 4 years ago
parent
commit
b737adb4f8

+ 1 - 1
src/main/java/thyyxxk/wxservice_server/service/WxApiService.java

@@ -380,7 +380,7 @@ public class WxApiService {
         String url = "http://webhis.thyy.cn:8706/wxRefund/refundOrder";
         JSONObject param = new JSONObject();
         param.put("id", order.getId());
-        param.put("refundDatetime", DateUtil.formatDatetime(new Date(), "yyyy-MM-dd HH:mm:ss"));
+        param.put("refundOpDatetime", DateUtil.formatDatetime(new Date(), "yyyy-MM-dd HH:mm:ss"));
         param.put("totalFee", order.getTotalFee());
         param.put("tradeNo", tradeNo);
         param.put("refundOpCode", "99999");

+ 1 - 1
src/main/resources/application-prod.yml

@@ -1,5 +1,5 @@
 server:
-  port: 8083
+  port: 8085
   servlet:
     context-path: /wxserver
 spring: