Commit bd40e37e by 墨竹

feat:登录token增加code

parent c135396d
......@@ -213,7 +213,7 @@ public class WxEnterpriseInfoController extends WebBaseController {
public HaobanResponse welldoneTokenRefresh() {
String token = AuthRequestWellDoneUtil.getToken();
if (ObjectUtil.isNull(token)) {
return resultResponse(HaoBanErrCode.ERR_30004);
return resultResponse(HaoBanErrCode.ERR_30010);
}
Map<String, String> tokenMap = JwtUtil.parseToken(token);
if (MapUtil.isEmpty(tokenMap)) {
......
......@@ -123,6 +123,7 @@ public enum HaoBanErrCode {
ERR_30007(30007, "未设置密码,请先设置密码"),
ERR_30008(30008, "超级管理员不存在"),
ERR_30009(30009, "token不正确,请重新登录"),
ERR_30010(30010, "token为空,请授权登录登录"),
//角色
ERR_40001(40001, "角色异常"),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment