he2802 2 éve
szülő
commit
5a9a7b6285

+ 6 - 3
zhongzheng-system/src/main/java/com/zhongzheng/modules/grade/service/impl/ClassGradeUserServiceImpl.java

@@ -585,10 +585,13 @@ public class ClassGradeUserServiceImpl extends ServiceImpl<ClassGradeUserMapper,
         if (Validator.isEmpty(userVo.getRealName()) || Validator.isEmpty(userVo.getIdCard()) || Validator.isEmpty(userVo.getTelPhone())) {
             return "用户信息缺失";
         }
-        if(Validator.isNotEmpty(configService.selectConfigByKey("office.account"))){
-            OFFICIALPUSH_INFOACCOUNT = configService.selectConfigByKey("office.account");
-            OFFICIALPUSH_TOKEN = configService.selectConfigByKey("office.token");
+        if(Validator.isNotEmpty(configService.selectConfigByKeyNoCache("office.account"))){
+            OFFICIALPUSH_INFOACCOUNT = configService.selectConfigByKeyNoCache("office.account");
+            OFFICIALPUSH_TOKEN = configService.selectConfigByKeyNoCache("office.token");
         }
+        log.info("报名信息推送OFFICIALPUSH_INFOACCOUNT" + JSON.toJSONString(OFFICIALPUSH_INFOACCOUNT));
+        log.info("报名信息推送OFFICIALPUSH_INFOACCOUNT" + JSON.toJSONString(OFFICIALPUSH_INFOACCOUNT));
+        log.info("班号:2GB20230<0x>6005");
         Map<String, String> params = new HashMap<>();
         params.put("zh", OFFICIALPUSH_INFOACCOUNT);
         params.put("bh", userVo.getOfficialName());