This commit is contained in:
邹宗楠
2022-04-15 21:13:15 +08:00
parent a6e0049717
commit 11ddf707e3
3 changed files with 6 additions and 8 deletions

View File

@@ -20,7 +20,6 @@ import (
"math"
"regexp"
"strings"
"time"
)
var (
@@ -351,8 +350,9 @@ func (p *PurchaseHandler) onStoreStatusChanged(msg *mtwmapi.CallbackMsg) (respon
}
response = mtwmapi.Err2CallbackResponse(err, "")
// 操作日志(美团外卖)
ctx := jxcontext.AdminCtx
store := fmt.Sprintf("美团外卖回调门店改变回调(营业状态/审核状态):门店id:%s,美团门店状态:%d.[121营业,120休息,18上线,19下线]", vendorStoreID, int(utils.Str2Int64(msg.FormData.Get("poi_status"))))
err = event.AddOperateEvent(jxcontext.AdminCtx, jxcontext.AdminCtx.GetTrackInfo(), store, "", "", int(time.Now().UnixNano()/1000), "UpdateStore")
event.AddOperateEvent(ctx, ctx.GetTrackInfo(), store, "", "", 10, "UpdateStore")
return response
}