From e61fcb74b700a2f526298f18f69b87bb56c60cf4 Mon Sep 17 00:00:00 2001 From: suyl <770236076@qq.com> Date: Fri, 6 Aug 2021 14:31:51 +0800 Subject: [PATCH] aa --- business/jxstore/cms/sync.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/business/jxstore/cms/sync.go b/business/jxstore/cms/sync.go index 427222c21..531c60627 100644 --- a/business/jxstore/cms/sync.go +++ b/business/jxstore/cms/sync.go @@ -1542,7 +1542,7 @@ func SetMTPSStatus2(storeID int) { stores, _ := dao.GetStoreCourierList(db, storeIDs, []int{model.VendorIDMTPS}, model.StoreStatusAll, model.StoreAuditStatusAll) for _, v := range stores { storeDetail, _ := dao.GetStoreDetail2(db, v.StoreID, "", model.VendorIDMTPS) - _, err := api.MtpsAPI.CheckOrder(utils.Int2Str(v.StoreID), storeDetail.Address, int64(storeDetail.Lng), int64(storeDetail.Lat), time.Now().Unix()) + _, err := api.MtpsAPI.CheckOrder(v.VendorStoreID, storeDetail.Address, int64(storeDetail.Lng), int64(storeDetail.Lat), time.Now().Unix()) if mtpsapi.IsOpen(err) { sl := make(map[string]interface{}) sl["status"] = 1