|
@@ -42,10 +42,6 @@ public class ServerResponse implements Serializable {
|
|
return new ServerResponse(ResponseCode.AUTHOR.code, null, ResponseCode.AUTHOR.msg);
|
|
return new ServerResponse(ResponseCode.AUTHOR.code, null, ResponseCode.AUTHOR.msg);
|
|
}
|
|
}
|
|
|
|
|
|
- public static ServerResponse createByIllegal() {
|
|
|
|
- return new ServerResponse(ResponseCode.ILLEGAL.code, null, ResponseCode.ILLEGAL.msg);
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
private ServerResponse(int status, Object data, String msg) {
|
|
private ServerResponse(int status, Object data, String msg) {
|
|
this.status = status;
|
|
this.status = status;
|
|
this.msg = msg;
|
|
this.msg = msg;
|