pull/3/head
litingting 9 months ago
parent 0ef71681c9
commit 43e821a4b4

@ -1,22 +1,37 @@
package com.njupt.swg.common.constants; package com.njupt.swg.common.constants;
/** /**
* Constants
* @Author swg. * @Author swg.
* @Date 2019/1/1 13:19 * @Date 2019/1/1 13:19
* @CONTACT 317758022@qq.com * @CONTACT 317758022@qq.com
* @DESC * @DESC
*/ */
public class Constants { public class Constants {
/**自定义状态码 start**/ /**
*
*/
/**
* HTTP200
*/
public static final int RESP_STATUS_OK = 200; public static final int RESP_STATUS_OK = 200;
/**
* HTTP401
*/
public static final int RESP_STATUS_NOAUTH = 401; public static final int RESP_STATUS_NOAUTH = 401;
/**
* HTTP500
*/
public static final int RESP_STATUS_INTERNAL_ERROR = 500; public static final int RESP_STATUS_INTERNAL_ERROR = 500;
/**
* HTTP400
*/
public static final int RESP_STATUS_BADREQUEST = 400; public static final int RESP_STATUS_BADREQUEST = 400;
/**自定义状态码 end**/ /**
*
*/
} }
Loading…
Cancel
Save