美团状态

This commit is contained in:
苏尹岚
2020-08-05 11:55:43 +08:00
parent 0508fd922b
commit 95e9bb516a

View File

@@ -1298,10 +1298,7 @@ func SetMTPSStatus(ctx *jxcontext.Context, storeId, courierStatus int) {
if ShopInfo != nil {
ShopName = ShopInfo.ShopName
if ShopName == "" {
if StoreLists[0].Name[len(StoreLists[0].Name)-1:] == "店" {
}
ShopName = StoreLists[0].Name
ShopName = StoreLists[0].Name[:len(StoreLists[0].Name)-3]
}
StoreInfoList, _ = api.MtpsAPI.GetStoreStatus(ShopName)
if StoreInfoList != nil && StoreInfoList.DataList != nil {