first commit
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
package errcode
|
||||
|
||||
// 商品模块错误码段位:60000 - 69999
|
||||
//
|
||||
// 60000 - 60999 业务错误
|
||||
// 69000 - 69999 服务端错误
|
||||
var (
|
||||
GoodsNotFound = NewError(60000, "商品不存在")
|
||||
GoodsOffShelf = NewError(60001, "商品已下架")
|
||||
GoodsCreateFailed = NewError(69000, "创建商品失败")
|
||||
GoodsUpdateFailed = NewError(69001, "更新商品失败")
|
||||
GoodsDeleteFailed = NewError(69002, "删除商品失败")
|
||||
)
|
||||
Reference in New Issue
Block a user