提交者
Gitee
!515 调整响应成功状态码为200,与全局保持一致
Merge pull request !515 from 武玉航/master
正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -12,7 +12,7 @@ public class R<T> implements Serializable | @@ -12,7 +12,7 @@ public class R<T> implements Serializable | ||
| 12 | private static final long serialVersionUID = 1L; | 12 | private static final long serialVersionUID = 1L; |
| 13 | 13 | ||
| 14 | /** 成功 */ | 14 | /** 成功 */ |
| 15 | - public static final int SUCCESS = 0; | 15 | + public static final int SUCCESS = 200; |
| 16 | 16 | ||
| 17 | /** 失败 */ | 17 | /** 失败 */ |
| 18 | public static final int FAIL = 500; | 18 | public static final int FAIL = 500; |
-
请 注册 或 登录 后发表评论