service/vendor/codecreate/template/errcode.txt

7 lines
394 B
Plaintext

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}不存在