diff --git a/business/jxstore/cms/sync.go b/business/jxstore/cms/sync.go index 61aa4846a..5f6df4614 100644 --- a/business/jxstore/cms/sync.go +++ b/business/jxstore/cms/sync.go @@ -1331,9 +1331,9 @@ func SetMTPSStatus(ctx *jxcontext.Context, storeId, courierStatus int) { goto ifExist } else { /*如果通过名字找不到,那就先通过ID去找名字*/ - ShopInfo, _ := api.MtpsAPI.ShopQuery(strconv.Itoa(storeId)) + ShopInfo, _ := api.MtpsAPI.GetStoreInfo(storeId) if ShopInfo != nil { - ShopName = ShopInfo.ShopName + ShopName = ShopInfo[0].PoiName if ShopName == "" { ShopName = StoreLists[0].Name[:len(StoreLists[0].Name)-3] }