he2802 %!s(int64=2) %!d(string=hai) anos
pai
achega
a83e9cb6fb

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

@@ -643,12 +643,12 @@ public class ClassGradeUserServiceImpl extends ServiceImpl<ClassGradeUserMapper,
     public ClassPeriodStudentVo DecryptOfficialInfo(ClassGradeDecryptQueryBo bo) {
         String pars;
         try {
+            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");
             }
             System.out.println(OFFICIALPUSH_TOKEN);
-            ServletUtils.getRequestAttributes().getResponse().setHeader("TenantId", bo.getTenantId());
             //     data = "DjqbGTiWrtqJvLSKObhAB1F+s1vPmc1XWNagrHjwlK1JiCO1CuicJEcP+MzZoUyiSfDLeV2GZio=";
             //     data ="Z4lUlc48qtBmZcg4tbNmt767KDeYhu6h+Xz8ySE5MqYSy3tF1/m2cTLtAQRlHV9X4JtXoCwapll/IiMVNyrOwsZD9Ujjf682";
             byte[] Keys = new byte[]{0x22, 0x34, 0x76, 0x58, (byte) 0x90, (byte) 0xAB, (byte) 0xAD, (byte) 0xBF};