warehouse map

This commit is contained in:
richboo111
2022-12-12 17:20:57 +08:00
parent 135f588a24
commit ecd8ef71a4

View File

@@ -407,7 +407,6 @@ func (a *API) GetWarehouseByStore(storeID int64) (*warehouse_getWarehouseByStore
if len(response.Data.WarehouseInfoMap) == 0 {
return nil, errors.New(fmt.Sprintf("门店%d 暂时未绑定仓库,请进行绑定!", storeID))
}
globals.SugarLogger.Debugf("", response.Data.WarehouseInfoMap[utils.Int64ToStr(storeID)][0].OutFenceIds[0])
return response.Data, nil
}