@@ -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();