美团状态
This commit is contained in:
@@ -1298,10 +1298,7 @@ func SetMTPSStatus(ctx *jxcontext.Context, storeId, courierStatus int) {
|
|||||||
if ShopInfo != nil {
|
if ShopInfo != nil {
|
||||||
ShopName = ShopInfo.ShopName
|
ShopName = ShopInfo.ShopName
|
||||||
if ShopName == "" {
|
if ShopName == "" {
|
||||||
if StoreLists[0].Name[len(StoreLists[0].Name)-1:] == "店" {
|
ShopName = StoreLists[0].Name[:len(StoreLists[0].Name)-3]
|
||||||
|
|
||||||
}
|
|
||||||
ShopName = StoreLists[0].Name
|
|
||||||
}
|
}
|
||||||
StoreInfoList, _ = api.MtpsAPI.GetStoreStatus(ShopName)
|
StoreInfoList, _ = api.MtpsAPI.GetStoreStatus(ShopName)
|
||||||
if StoreInfoList != nil && StoreInfoList.DataList != nil {
|
if StoreInfoList != nil && StoreInfoList.DataList != nil {
|
||||||
|
|||||||
Reference in New Issue
Block a user