测试SetMTPSStatus调用

This commit is contained in:
平凡梦
2020-07-09 10:35:05 +08:00
parent c96bc4d859
commit db1fc49c38

View File

@@ -1286,7 +1286,9 @@ func SetMTPSStatus(ctx *jxcontext.Context, StoreId, CourierStatus int) {
//&& CourierStatus != 0
if StoreId != 0 {
StoreLists, _ := dao.GetStoreList(nil, []int{StoreId}, nil, nil, nil, "")
globals.SugarLogger.Debug("StoreLists[0].Name", StoreLists[0].Name)
StoreInfoList, _ := api.MtpsAPI.GetStoreStatus(StoreLists[0].Name)
globals.SugarLogger.Debug("美团查询结果", StoreInfoList)
if StoreInfoList != nil && StoreInfoList.PoiName != "" {
//若存在且名字不为空,就是找到了
if StoreInfoList.OpenType != CourierStatus {