修改SetMTPSStatus调用
This commit is contained in:
@@ -1289,7 +1289,7 @@ func SetMTPSStatus(ctx *jxcontext.Context, StoreId, CourierStatus int) {
|
|||||||
globals.SugarLogger.Debug("StoreLists[0].Name", StoreLists[0].Name)
|
globals.SugarLogger.Debug("StoreLists[0].Name", StoreLists[0].Name)
|
||||||
StoreInfoList, _ := api.MtpsAPI.GetStoreStatus(StoreLists[0].Name)
|
StoreInfoList, _ := api.MtpsAPI.GetStoreStatus(StoreLists[0].Name)
|
||||||
globals.SugarLogger.Debug("美团查询结果", StoreInfoList.PoiName, StoreInfoList.OpenType)
|
globals.SugarLogger.Debug("美团查询结果", StoreInfoList.PoiName, StoreInfoList.OpenType)
|
||||||
if StoreInfoList.PoiName != "" {
|
if StoreInfoList.OuterPoiID != "" {
|
||||||
//若存在且名字不为空,就是找到了
|
//若存在且名字不为空,就是找到了
|
||||||
if StoreInfoList.OpenType != CourierStatus {
|
if StoreInfoList.OpenType != CourierStatus {
|
||||||
sl := make(map[string]interface{})
|
sl := make(map[string]interface{})
|
||||||
|
|||||||
Reference in New Issue
Block a user