修正SetMTPSStatus调用
This commit is contained in:
@@ -1283,7 +1283,8 @@ func SetMTPSStatus(ctx *jxcontext.Context, StoreId, CourierStatus int) {
|
||||
globals.SugarLogger.Debug("StoreOpenAll skuID is start ")
|
||||
globals.SugarLogger.Debug("StoreId", "CourierStatus", StoreId, CourierStatus)
|
||||
/*获取美团门店信息*/
|
||||
if StoreId != 0 && CourierStatus != 0 {
|
||||
//&& CourierStatus != 0
|
||||
if StoreId != 0 {
|
||||
StoreLists, _ := dao.GetStoreList(nil, []int{StoreId}, nil, nil, nil, "")
|
||||
StoreInfoList, _ := api.MtpsAPI.GetStoreStatus(StoreLists[0].Name)
|
||||
if StoreInfoList != nil && StoreInfoList.PoiName != "" {
|
||||
|
||||
Reference in New Issue
Block a user