service/codecreate/template/errcode.txt

7 lines
394 B
Plaintext
Raw Permalink Normal View History

2023-12-21 22:17:40 +08:00
ErrCode#{EntityName}SrvFail: "#{EntityCNName}服务错误",
ErrCode#{EntityName}NotExist: "#{EntityCNName}不存在",
// #{EntityName}: #{ErrCodeSeq}xxx
ErrCode#{EntityName}SrvOk ErrCode = ErrCodeOk
ErrCode#{EntityName}SrvFail ErrCode = -#{ErrCodeSeq}001 // #{EntityCNName}服务错误
ErrCode#{EntityName}NotExist ErrCode = -#{ErrCodeSeq}002 // #{EntityCNName}不存在