|
@@ -589,8 +589,7 @@ public class ClassGradeUserServiceImpl extends ServiceImpl<ClassGradeUserMapper,
|
|
|
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));
|
|
|
+ System.out.println(OFFICIALPUSH_TOKEN);
|
|
|
Map<String, String> params = new HashMap<>();
|
|
|
params.put("zh", OFFICIALPUSH_INFOACCOUNT);
|
|
|
params.put("bh", userVo.getOfficialName());
|
|
@@ -645,7 +644,9 @@ public class ClassGradeUserServiceImpl extends ServiceImpl<ClassGradeUserMapper,
|
|
|
public ClassPeriodStudentVo DecryptOfficialInfo(ClassGradeDecryptQueryBo bo) {
|
|
|
String pars;
|
|
|
try {
|
|
|
- ServletUtils.getRequestAttributes().getResponse().setHeader("TenantId", bo.getTenantId());
|
|
|
+ if(Validator.isNotEmpty(bo.getTenantId())){
|
|
|
+ ServletUtils.getRequestAttributes().getResponse().setHeader("TenantId", bo.getTenantId());
|
|
|
+ }
|
|
|
if(Validator.isNotEmpty(configService.selectConfigByKeyNoCache("office.account"))){
|
|
|
OFFICIALPUSH_INFOACCOUNT = configService.selectConfigByKeyNoCache("office.account");
|
|
|
OFFICIALPUSH_TOKEN = configService.selectConfigByKeyNoCache("office.token");
|