This commit is contained in:
邹宗楠
2025-01-03 09:21:52 +08:00
parent b7947a1869
commit 7c313ecca8
3 changed files with 34 additions and 38 deletions

View File

@@ -20,8 +20,8 @@ func (c *EbaiController) Msg() {
if c.Ctx.Input.Method() == http.MethodPost {
obj, callbackResponse := api.EbaiAPI.GetCallbackMsg(c.Ctx.Request)
if callbackResponse == nil {
vendorStoreId := obj.Body["platform_shop_id"].(string)
if vendorStoreId != "" {
vendorStoreId, _ := utils.TryInterface2Int64(obj.Body["platform_shop_id"])
if vendorStoreId != 0 {
//storeDetail, _ := dao.GetStoreDetailByVendorStoreID(dao.GetDB(), vendorStoreId, model.VendorIDEBAI, "")
//if storeDetail == nil {
// globals.SugarLogger.Debugf("-----饿百订单非菜市消息推送-%s", utils.Format4Output(obj, false))