1
This commit is contained in:
@@ -51,7 +51,7 @@ func OnCallbackMsg(msg *mtwmapi.CallbackMsg, msgType string) (response *mtwmapi.
|
||||
var skuStatus = make(map[int][]string, 0)
|
||||
var operate = make(map[string]string, 0)
|
||||
for _, v := range dataMap {
|
||||
if v.AppFoodCode != "" && v.AppPoiCode != "" {
|
||||
if v.AppFoodCode != "" && v.AppPoiCode != "" && v.DiffContents.IsSoldOut.Origin != v.DiffContents.IsSoldOut.Result {
|
||||
skuStatus[v.DiffContents.IsSoldOut.Result] = append(skuStatus[v.DiffContents.IsSoldOut.Result], v.AppFoodCode)
|
||||
storeMap[v.AppPoiCode] = skuStatus
|
||||
operate[v.AppFoodCode] = fmt.Sprintf("%s:%s:0↑-1↓:前%d->后%d", v.OpAppKey, v.OpName, v.DiffContents.IsSoldOut.Origin, v.DiffContents.IsSoldOut.Result)
|
||||
|
||||
Reference in New Issue
Block a user