【修改】去除error500方法,全都替换为error

【修改】修改token过期,但是接口访问依然不返回登录页的bug
This commit is contained in:
zer0Black
2022-04-17 22:44:29 +08:00
parent 725a72a178
commit b5ac2c4a1b
27 changed files with 141 additions and 179 deletions
@@ -107,13 +107,6 @@ public class Result<T> implements Serializable {
return r;
}
public static<T> Result<T> error500(String message) {
Result<T> r = new Result<T>();
r.message = message;
r.code = CommonConstant.SC_INTERNAL_SERVER_ERROR_500;
r.success = false;
return r;
}
/**
* 无权限访问返回结果
*/