操作日志

This commit is contained in:
苏尹岚
2020-01-08 14:26:31 +08:00
parent a3e4503081
commit e5db4f27b1
4 changed files with 69 additions and 4 deletions

View File

@@ -105,6 +105,19 @@ var (
Coupon: "优惠券",
}
OperateTypeName = map[int]string{
OperateAdd: "新增",
OperateUpdate: "修改",
OperateDelete: "删除",
}
ThingTypeName = map[int]string{
ThingTypeCategory: "分类",
ThingTypeSku: "门店商品",
ThingTypeSkuName: "商品库",
ThingTypeStore: "门店",
}
MultiStoresVendorMap = map[int]int{
VendorIDJD: 1,
VendorIDMTWM: 0,
@@ -241,6 +254,12 @@ const (
Coupon = 2 //优惠券
)
const (
OperateAdd = 1 //新增操作
OperateUpdate = 2 //修改操作
OperateDelete = 4 //删除操作
)
const (
WaybillStatusRefuseFailedGetGoods = -70
WaybillStatusUnknown = 0

View File

@@ -4,6 +4,7 @@ const (
ThingTypeCategory = 1
ThingTypeSkuName = 2
ThingTypeSku = 3
ThingTypeStore = 4
)
type ThingMap struct {