【修改】去除error500方法,全都替换为error
【修改】修改token过期,但是接口访问依然不返回登录页的bug
This commit is contained in:
-7
@@ -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;
|
||||
}
|
||||
/**
|
||||
* 无权限访问返回结果
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user