调整响应成功状态码为200,与全局保持一致
This commit is contained in:
parent
3ccf5c0e50
commit
aaedafff52
@ -12,7 +12,7 @@ public class R<T> implements Serializable
|
|||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
/** 成功 */
|
/** 成功 */
|
||||||
public static final int SUCCESS = 0;
|
public static final int SUCCESS = 200;
|
||||||
|
|
||||||
/** 失败 */
|
/** 失败 */
|
||||||
public static final int FAIL = 500;
|
public static final int FAIL = 500;
|
||||||
|
Loading…
Reference in New Issue
Block a user