From 4fd506895cc76a59cebef12bfecbc1a9d97b670a Mon Sep 17 00:00:00 2001 From: sin <2943460818@qq.com> Date: Sat, 23 Mar 2019 11:41:16 +0800 Subject: [PATCH] =?UTF-8?q?-=20=E6=B7=BB=E5=8A=A0=E9=94=99=E8=AF=AF?= =?UTF-8?q?=E5=AE=9A=E4=B9=89=E8=A7=84=E5=88=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../framework/constant/ModuleErrorCodeInterval.java | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/common/common-framework/src/main/java/cn/iocoder/common/framework/constant/ModuleErrorCodeInterval.java b/common/common-framework/src/main/java/cn/iocoder/common/framework/constant/ModuleErrorCodeInterval.java index baa2737db..b926ca808 100644 --- a/common/common-framework/src/main/java/cn/iocoder/common/framework/constant/ModuleErrorCodeInterval.java +++ b/common/common-framework/src/main/java/cn/iocoder/common/framework/constant/ModuleErrorCodeInterval.java @@ -5,12 +5,19 @@ package cn.iocoder.common.framework.constant; * * 解决:解决各模块错误码定义,避免重复,在此只声明不做实际使用 * + * + * 错误码定义说明: + * + * [0-000-000-000] 1 开头,给业务系统,2 开头,给框架使用 + * + * 如:用户系统,使用 1-001-000-000 段 + * * @author Sin * @time 2019-03-23 11:28 */ public final class ModuleErrorCodeInterval { - // order 错误码区间 [8000000 - 8100000] + // order 错误码区间 [1-000-001-000 ~ 1-000-002-000] // admin 错误码区间 [] TODO 芋艿 admin 错误码区间