Althars123 před 3 roky
rodič
revize
991a873090

+ 1 - 1
jkt-admin/src/main/java/com/miaxis/system/controller/system/SysLoginController.java

@@ -122,7 +122,7 @@ public class SysLoginController
 
         // 生成令牌
         if (wxResult.getErrcode() != null){
-            throw new CustomException(wxResult.getErrmsg());
+            throw new CustomException("微信授权无效,请重新授权");
         }
         String token = loginService.login(wxResult.getOpenid(),null, StudentLoginTypeEnum.OPENID_LOGIN.getCode());
         TokenDTO tokenDTO = new TokenDTO();