Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
services
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
tencent
services
Commits
981fa588
Commit
981fa588
authored
Jul 19, 2019
by
王召彬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加同步店员所属的商品的接口
parent
fc0237cb
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
src/Craftsman/Lib/CraftsmanInterface.php
+12
-0
No files found.
src/Craftsman/Lib/CraftsmanInterface.php
View file @
981fa588
...
...
@@ -20,6 +20,7 @@ use Swoft\Core\ResultInterface;
* @method ResultInterface deferGetCraftsmenByUnionId(string $unionId)
* @method ResultInterface deferGetCraftsmenById(int $storeId, int $cmanId)
* @method ResultInterface deferGetCraftsmenByIds(int $storeId, array $cmanIds)
* @method ResultInterface deferSyncItems(int $storeId, array $itemIds, int $mode)
*/
interface
CraftsmanInterface
{
...
...
@@ -74,4 +75,14 @@ interface CraftsmanInterface
*/
public
function
getCraftsmenByIds
(
int
$storeId
,
array
$cmanIds
);
/**
* 提供给商品服务,用来同步店员所属的商品
*
* @param integer $storeId
* @param array $itemIds
* @param integer $mode 取值:1 表示新增,2 表示去除
* @return boolen
*/
public
function
syncItems
(
int
$storeId
,
array
$itemIds
,
int
$mode
);
}
\ 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