Skip to content

Commit fc4c104

Browse files
committed
chore: update comments for clarity and consistency in IResultCode interface
1 parent ce887cb commit fc4c104

File tree

1 file changed

+2
-12
lines changed

1 file changed

+2
-12
lines changed

backend/framework/src/main/java/cn/cordys/common/exception/IResultCode.java

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,21 +7,11 @@
77
*
88
* @author jianxing
99
* <p>
10-
* 1. 如果想返回具有 Http 含义的状态码,使用 CrmHttpResultCode
10+
* 1. 如果想返回具有 Http 含义的状态码,使用对应实现类
1111
* 2. 业务状态码,各模块定义自己的状态码枚举类,各自管理
1212
* 3. 业务错误码,定义规则为 6 位数字
13-
* 4. 业务错误码,前三位表示模块名称,最后三位表示错误码。例如:101001 101: 系统设置, 001: 资源池校验失败
14-
* 5. 当需要抛出异常时,给异常设置状态码枚举对象
13+
* 4. 当需要抛出异常时,给异常设置状态码枚举对象
1514
* <p>
16-
* 业务状态码列表:
17-
* 100: 通用功能
18-
* 101: 系统设置
19-
* 102: 项目设置
20-
* 104: 接口测试
21-
* 105: 测试跟踪
22-
* 107: 测试计划
23-
* 108: 缺陷管理
24-
* 109: 工作台
2515
*/
2616
public interface IResultCode {
2717
/**

0 commit comments

Comments
 (0)