Browse Source

支付回调BUG提交

小么熊🐻 3 years ago
parent
commit
587c066e29

+ 2 - 2
jsjp-admin/src/main/java/com/miaxis/app/controller/wx/WxNotifyController.java

@@ -279,7 +279,7 @@ public class WxNotifyController {
             } else if ("科目三视频".equals(wxJsOrder.getGoodsName())) {
                 GzptVideoVipDTO gzptVideoVipDTO = new GzptVideoVipDTO();
                 gzptVideoVipDTO.setUserId(wxJsOrder.getUserId());
-                GzptVideoVip gv = videoVipService.getGzptVideoVipByUserId(gzptVideoVipDTO);
+                GzptVideoVip gv = videoVipService.getGzptVideoVipByUserIdForLocal(gzptVideoVipDTO);
                 if(gv!=null) {
                     //修改会员信息
                     Date km3Date = gv.getSubject3();
@@ -315,7 +315,7 @@ public class WxNotifyController {
             }  else if ("全套实操视频".equals(wxJsOrder.getGoodsName())) {
                 GzptVideoVipDTO gzptVideoVipDTO = new GzptVideoVipDTO();
                 gzptVideoVipDTO.setUserId(wxJsOrder.getUserId());
-                GzptVideoVip gv = videoVipService.getGzptVideoVipByUserId(gzptVideoVipDTO);
+                GzptVideoVip gv = videoVipService.getGzptVideoVipByUserIdForLocal(gzptVideoVipDTO);
                 if(gv!=null) {
                     //修改会员信息
                     Date km2Date = gv.getSubject2();

+ 3 - 2
jsjp-admin/src/main/resources/application-prodtest.yml

@@ -6,9 +6,10 @@ spring:
         druid:
             # 主库数据源
             master:
-                url: jdbc:mysql://sh-cdb-2y9n2832.sql.tencentcdb.com:60123/jsjp?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true
+                #url: jdbc:mysql://sh-cdb-2y9n2832.sql.tencentcdb.com:60123/jsjp?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true
+                url: jdbc:mysql://1.15.26.233:3307/jsjp?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true
                 username: root
-                password: Miaxis@2020
+                password: miaxis110
             # 从库数据源
             newgzpt:
                 # 从数据源开关/默认关闭