1
This commit is contained in:
@@ -13,7 +13,6 @@ import (
|
||||
"strings"
|
||||
)
|
||||
|
||||
// todo
|
||||
// /warehouse/createBatch 批量创建区域仓
|
||||
func (P *PurchaseHandler) BatchCreateWarehouse(param warehouse_createBatch_request.WarehouseCreateBatchParam) error {
|
||||
infos := []warehouse_createBatch_request.OutWarehouseListItem{}
|
||||
@@ -62,7 +61,7 @@ type LocalStore struct {
|
||||
}
|
||||
|
||||
// /warehouse/createFence 以门店方式创建电子围栏
|
||||
func (P *PurchaseHandler) CreateFenceByStore(storeID int) (fenceID string, err error) {
|
||||
func CreateFenceByStore(storeID int) (fenceID string, err error) {
|
||||
var (
|
||||
db *dao.DaoDB
|
||||
localStore *LocalStore
|
||||
@@ -132,7 +131,7 @@ func (P *PurchaseHandler) CreateFenceDirectly(param warehouse_createFence_reques
|
||||
}
|
||||
|
||||
//门店直接绑定围栏
|
||||
func (P *PurchaseHandler) BindFenceByStore(storeID int64, addOutFenceIDs []string) error {
|
||||
func BindFenceByStore(storeID int64, addOutFenceIDs []string) error {
|
||||
param := &warehouse_bindFencesByStore_request.WarehouseBindFencesByStoreParam{
|
||||
StoreId: storeID,
|
||||
AddOutFenceIds: addOutFenceIDs,
|
||||
|
||||
Reference in New Issue
Block a user