This commit is contained in:
richboo111
2023-10-08 10:29:41 +08:00
parent aa7fc8c4f4
commit 4525274e40
3 changed files with 3 additions and 2 deletions

View File

@@ -82,6 +82,7 @@ func (P *PurchaseHandler) BatchCreateWarehouse(param warehouse_createBatch_reque
// /warehouse/bindStore 仓库绑定门店
func BindStoreWarehouse(VendorOrgCode, outWarehouseID string, storeIDs int64) error {
globals.SugarLogger.Debugf("BindStoreWarehouse storeID=%s,vendorStoreID=%d", outWarehouseID, storeIDs)
if _, err := getAPI(VendorOrgCode, 0, "").StoreBindWarehouse(&warehouse_bindStore_request.WarehouseBindStoreParam{
StoreIds: []int64{storeIDs},
OutWarehouseId: outWarehouseID,