修改SetMTPSStatus调用
This commit is contained in:
@@ -1288,7 +1288,7 @@ func SetMTPSStatus(ctx *jxcontext.Context, StoreId, CourierStatus int) {
|
||||
StoreLists, _ := dao.GetStoreList(nil, []int{StoreId}, nil, nil, nil, "")
|
||||
StoreInfoList, _ := api.MtpsAPI.GetStoreStatus(StoreLists[0].Name)
|
||||
globals.SugarLogger.Debug("美团查询结果", StoreInfoList)
|
||||
if StoreInfoList == nil && StoreInfoList.DataList == nil {
|
||||
if StoreInfoList == nil || StoreInfoList.DataList == nil {
|
||||
sl := make(map[string]interface{})
|
||||
sl["vendorStoreID"] = model.VendorIDMTPS
|
||||
sl["status"] = 0
|
||||
|
||||
Reference in New Issue
Block a user