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
d941cbce
Commit
d941cbce
authored
Sep 20, 2023
by
zhangdongying
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
团队仓库和分销产品RPC
parent
60a88cfc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
45 additions
and
0 deletions
+45
-0
DistributionProductServiceInterface.php
.../Interfaces/Store/DistributionProductServiceInterface.php
+22
-0
TeamWarehouseServiceInterface.php
...ervice/Interfaces/Store/TeamWarehouseServiceInterface.php
+23
-0
No files found.
src/Service/Interfaces/Store/DistributionProductServiceInterface.php
0 → 100644
View file @
d941cbce
<?php
/**
* 分销产品
*
* @author zhangdongying
* @date 2023-09-19
*/
declare
(
strict_types
=
1
);
namespace
Meibuyu\Rpc\Service\Interfaces\Store
;
interface
DistributionProductServiceInterface
{
/**
* 通过子SKU数组获取列表
*
* @param array $childSkus 子SKU数组
* @param array $columns 字段数组
* @return array
*/
public
function
getListByChildSkus
(
array
$childSkus
,
array
$columns
=
[])
:
array
;
}
\ No newline at end of file
src/Service/Interfaces/Store/TeamWarehouseServiceInterface.php
0 → 100644
View file @
d941cbce
<?php
/**
* (团队)仓库
*
* @author zhangdongying
* @date 2023-09-19
*/
declare
(
strict_types
=
1
);
namespace
Meibuyu\Rpc\Service\Interfaces\Store
;
interface
TeamWarehouseServiceInterface
{
/**
* 通过仓库名称数组获取列表
*
* @param array $names 仓库名称数组
* @param array $columns 列名数组
* @param array $relations 关联数组
* @return array 默认keyBy('name')
*/
public
function
getListByNames
(
array
$names
,
array
$columns
=
[
'*'
],
array
$relations
=
[])
:
array
;
}
\ No newline at end of file
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