美团配送刷新
This commit is contained in:
@@ -1331,9 +1331,9 @@ func SetMTPSStatus(ctx *jxcontext.Context, storeId, courierStatus int) {
|
|||||||
goto ifExist
|
goto ifExist
|
||||||
} else {
|
} else {
|
||||||
/*如果通过名字找不到,那就先通过ID去找名字*/
|
/*如果通过名字找不到,那就先通过ID去找名字*/
|
||||||
ShopInfo, _ := api.MtpsAPI.ShopQuery(strconv.Itoa(storeId))
|
ShopInfo, _ := api.MtpsAPI.GetStoreInfo(storeId)
|
||||||
if ShopInfo != nil {
|
if ShopInfo != nil {
|
||||||
ShopName = ShopInfo.ShopName
|
ShopName = ShopInfo[0].PoiName
|
||||||
if ShopName == "" {
|
if ShopName == "" {
|
||||||
ShopName = StoreLists[0].Name[:len(StoreLists[0].Name)-3]
|
ShopName = StoreLists[0].Name[:len(StoreLists[0].Name)-3]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user