Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
meibuyu-micro
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
1
Merge Requests
1
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-micro
Commits
f4b90596
Commit
f4b90596
authored
Jun 05, 2020
by
梁俊杰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增平台子sku接口
parent
4844dac5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
33 additions
and
0 deletions
+33
-0
PlatformProductChildServiceInterface.php
...terfaces/Product/PlatformProductChildServiceInterface.php
+33
-0
No files found.
src/Service/Interfaces/Product/PlatformProductChildServiceInterface.php
0 → 100644
View file @
f4b90596
<?php
/**
* Created by PhpStorm.
* User: 王源
* Date: 2020/1/9
* Time: 15:07
*/
namespace
Meibuyu\Micro\Service\Interfaces\Product
;
interface
PlatformProductChildServiceInterface
{
/**
* 获取单个数据
* @param int $id 平台产品id
* @param array $relations 平台子产品的关联关系,支持:["platform_product","product_child"]
* @param array $columns 平台子产品表的字段,默认['id','platform_product_id','product_child_id','platform_product_child_sku','asin','fnsku','is_sale']
* @return array
*/
public
function
get
(
$id
,
array
$relations
=
[]
,
$columns
=
[
'id'
,
'platform_product_id'
,
'product_child_id'
,
'platform_product_child_sku'
,
'asin'
,
'fnsku'
,
'is_sale'
])
:
array
;
/**
* 通过id列表获取平台子产品数组
* @param array $idList 平台子产品id的列表
* @param array $relations 平台子产品的关联关系,支持:["platform_product","product_child"]
* @param array $columns 平台子产品表的字段,默认['id','platform_product_id','product_child_id','platform_product_child_sku','asin','fnsku','is_sale']
* @return array
*/
public
function
getByIdList
(
array
$idList
,
array
$relations
=
[]
,
$columns
=
[
'id'
,
'platform_product_id'
,
'product_child_id'
,
'platform_product_child_sku'
,
'asin'
,
'fnsku'
,
'is_sale'
])
:
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