فهرست منبع

易乾不存在的订单5分钟关闭

周箭河 5 سال پیش
والد
کامیت
be200dca88
2فایلهای تغییر یافته به همراه4 افزوده شده و 4 حذف شده
  1. 1 1
      src/main/java/com/ym/mec/collectfee/controller/YqPayController.java
  2. 3 3
      src/main/resources/application.yml

+ 1 - 1
src/main/java/com/ym/mec/collectfee/controller/YqPayController.java

@@ -451,7 +451,7 @@ public class YqPayController extends BaseController {
         }
         if (status == 0) {
             //失败减去已收款金额
-            Account account = accountService.getAccountByBranchId(Integer.parseInt(order.getUAccount()));
+            Account account = accountService.get(Integer.parseInt(order.getUAccount()));
             BigDecimal HasRouting = account.getHasRouting().subtract(order.getAmount());
             account.setHasRouting(HasRouting);
             accountService.upByIdAndVersion(account);

+ 3 - 3
src/main/resources/application.yml

@@ -53,8 +53,8 @@ spring:
         min-idle: 0
 mybatis:
     mapperLocations: classpath:config/mybatis/*.xml
-#   configuration:
-#      log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
+    configuration:
+      log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
     
 logging:
   config: classpath:logback-spring.xml
@@ -63,7 +63,7 @@ logging:
 yq-pay:
   pay-host: https://qyfapi.95epay.com
   query-host: https://qyfquery.95epay.com
-  notify-url: http://47.99.212.176:9000/yqpay/notify #通知
+  notify-url: http://47.99.212.176:9000/api/yqpay/notify #通知
   return-host: http://testpay.dayaedu.com #支付返回
   merno: 0021677