Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
meibuyu-rpc
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
without authentication
meibuyu-rpc
Commits
51b4a7df
Commit
51b4a7df
authored
Aug 08, 2024
by
zhangdongying
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
获取组合产品列表(批量)
parent
38030c74
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
1 deletion
+11
-1
ProductChildServiceInterface.php
...rvice/Interfaces/Product/ProductChildServiceInterface.php
+11
-1
No files found.
src/Service/Interfaces/Product/ProductChildServiceInterface.php
View file @
51b4a7df
...
...
@@ -155,10 +155,20 @@ interface ProductChildServiceInterface
/**
* 获取组合产品列表
*
* @param int $childProductId 仓库子
SKU-
ID
* @param int $childProductId 仓库子
产品
ID
* @param array $columns 子SKU表的字段,默认显示全部
* @param array $relations 子SKU的关联关系,可传入['brand', 'category', 'product_name', 'images', 'cost', 'weight', 'packs']
* @return array
*/
public
function
getPackListById
(
int
$childProductId
,
array
$columns
=
[
'*'
],
array
$relations
=
[])
:
array
;
/**
* 获取组合产品列表(批量)
*
* @param array $childProductIds 仓库子产品ID数组
* @param array $columns 子SKU表的字段,默认显示全部
* @param array $relations 子SKU的关联关系,可传入['brand', 'category', 'product_name', 'images', 'cost', 'weight', 'packs']
* @return array
*/
public
function
getPackListByIds
(
array
$childProductIds
,
array
$columns
=
[
'*'
],
array
$relations
=
[])
:
array
;
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment