mirror of
https://github.com/ZSCNetSupportDept/WechatTicketSystem.git
synced 2025-11-02 03:06:19 +08:00
update v2 links
This commit is contained in:
@@ -11,10 +11,10 @@ import static love.sola.netsupport.config.Lang.lang;
|
||||
public class Error {
|
||||
|
||||
public static final Error ALREADY_SUBMITTED = new Error(1);
|
||||
public static final Error OK = new Error(0);
|
||||
public static final Object OK = new Object();
|
||||
public static final Error PARAMETER_REQUIRED = new Error(-1);
|
||||
public static final Error ILLEGAL_PARAMETER = new Error(-2);
|
||||
public static final Error REQUEST_FAILED = new Error(-3);
|
||||
// public static final Error REQUEST_FAILED = new Error(-3); REMOVED
|
||||
public static final Error LENGTH_LIMIT_EXCEEDED = new Error(-4);
|
||||
public static final Error INVALID_PARAMETER = new Error(-5);
|
||||
public static final Error USER_NOT_FOUND = new Error(-11);
|
||||
|
||||
@@ -86,7 +86,7 @@ public class Login extends HttpServlet {
|
||||
return sid;
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
return Error.REQUEST_FAILED;
|
||||
return Error.INTERNAL_ERROR;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user