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