调整响应成功状态码为200,与全局保持一致

This commit is contained in:
陈烁键 2022-06-23 14:42:10 +08:00
parent 3ccf5c0e50
commit aaedafff52

View File

@ -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;