diff --git a/business/jxstore/cms/system_store_sku.go b/business/jxstore/cms/system_store_sku.go index 6ee0b7cc1..aa0336ffc 100644 --- a/business/jxstore/cms/system_store_sku.go +++ b/business/jxstore/cms/system_store_sku.go @@ -40,12 +40,12 @@ func CopyOnStoreSkuToOther(ctx *jxcontext.Context, fromStoreId, toStoreId string ) // 门店api加载 - toStore, err := dao.GetStoreDetailByVendorStoreID(db, toStoreId, 3, "") + toStore, err := dao.GetStoreDetailByVendorStoreID(db, toStoreId, vendorId, "") if err != nil { return nil, err } - fromStore, err := dao.GetStoreDetailByVendorStoreID(db, fromStoreId, 1, "") + fromStore, err := dao.GetStoreDetailByVendorStoreID(db, fromStoreId, vendorId, "") if err != nil { return nil, err }