重构警告等级
This commit is contained in:
@@ -11,8 +11,26 @@ const (
|
||||
FieldAbsentGoodsOneWeek = "AbsentGoodsOneWeek"
|
||||
FieldStandardFinishTimeSelfDelivery = "StandardFinishTimeSelfDelivery"
|
||||
FieldStandardPickUpTimeDaDa = "StandardPickUpTimeDaDa"
|
||||
FieldNoOrderInMonth = "NoOrderInMonth"
|
||||
FieldRiskOrderCount = "RiskOrderCount"
|
||||
|
||||
FieldNoOrderInMonth = "NoOrderInMonth"
|
||||
FieldRiskOrderCount = "RiskOrderCount"
|
||||
|
||||
FieldYellowStatus = "YellowStatus"
|
||||
FieldRedStatus = "RedStatus"
|
||||
FieldExtraRedStatus = "ExtraRedStatus"
|
||||
)
|
||||
|
||||
const (
|
||||
FlagPickTimeDaDa = 1
|
||||
FlagBadComment = 2
|
||||
FlagAbsentGoods = 4
|
||||
FlagPickTimeDaDaOneWeek = 8
|
||||
FlagBadCommentOneWeek = 16
|
||||
FlagAbsentGoodsOneWeek = 32
|
||||
FlagStandardFinishTimeSelfDelivery = 64
|
||||
FlagStandardPickUpTimeDaDa = 128
|
||||
FlagNoOrderInMonth = 256
|
||||
FlagRiskOrderCount = 512
|
||||
)
|
||||
|
||||
type StoreAlert struct {
|
||||
@@ -32,6 +50,10 @@ type StoreAlert struct {
|
||||
|
||||
NoOrderInMonth int `json:"noOrderInMonth"`
|
||||
RiskOrderCount int `json:"riskOrderCount"`
|
||||
|
||||
YellowStatus int
|
||||
RedStatus int
|
||||
ExtraRedStatus int
|
||||
}
|
||||
|
||||
type StoreAlertEx struct {
|
||||
|
||||
Reference in New Issue
Block a user