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
d232ee0b
Commit
d232ee0b
authored
May 15, 2023
by
chentianyu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
备货计划,通过sku列表获取仓库产品信息
parent
68abcc10
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
8 deletions
+5
-8
PlatformProductServiceInterface.php
...ce/Interfaces/Product/PlatformProductServiceInterface.php
+5
-8
No files found.
src/Service/Interfaces/Product/PlatformProductServiceInterface.php
View file @
d232ee0b
...
...
@@ -34,15 +34,12 @@ interface PlatformProductServiceInterface
public
function
getByIdList
(
array
$idList
,
array
$relations
=
[],
$columns
=
[
'*'
])
:
array
;
/**
* 通过sku列表获取平台产品数组
* @param array $skuList 平台产品sku的列表, 默认去重
* @param array $relations 平台产品的关联关系,
* 支持:["status","product","amazon_warehouse","platform_product_children","brand","category","ingredient","product_name","images","price_info","property"]
* @param array $columns 平台产品表的字段,默认全部字段
* ['id', 'sku', 'product_id', 'name', 'team_id', 'site_id', 'price', 'currency_id', 'platform_product_status_id', 'creator_id', 'asin', 'amazon_warehouse_id', 'info_completed']
* @return array 默认keyBy('id')
* 通过sku列表获取仓库产品信息
* @param array $skuList
* @return array
* @author chentianyu
*/
public
function
get
BySkuList
(
array
$skuList
,
array
$relations
=
[],
$columns
=
[
'*'
]
)
:
array
;
public
function
get
ProductBySkuList
(
array
$skuList
)
:
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