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
f182ca3a
Commit
f182ca3a
authored
Nov 21, 2019
by
王召彬
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature-multiCraftsman'
parents
7c98ac07
0c45ef88
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
2 deletions
+15
-2
src/Craftsman/Lib/CraftsmanInterface.php
+15
-2
No files found.
src/Craftsman/Lib/CraftsmanInterface.php
View file @
f182ca3a
...
...
@@ -17,11 +17,12 @@ use Swoft\Core\ResultInterface;
* The interface of craftsman service
*
* @method ResultInterface deferGetCraftsmenList(int $storeId, int $subStoreId = 0, int $itemId = 0)
* @method ResultInterface deferGetCraftsmenByUnionId(string $unionId)
* @method ResultInterface deferGetCraftsmenByUnionId(string $unionId
, int $isSeller=0
)
* @method ResultInterface defercreateCraftsman($storeId, array $params)
* @method ResultInterface deferGetCraftsmenById(int $storeId, int $cmanId)
* @method ResultInterface deferGetCraftsmenByIds(int $storeId, array $cmanIds)
* @method ResultInterface deferSyncItems(int $storeId, array $itemIds, int $mode)
* @method ResultInterface deferUpdateCmanByUnionId(string $unionId, int $storeId, array $data)
*/
interface
CraftsmanInterface
{
...
...
@@ -72,9 +73,10 @@ interface CraftsmanInterface
* 根据unionId获取店员信息
*
* @param string $unionId
* @param int $isSeller 是否店主 1-是 ,0-否
* @return array
*/
public
function
getCraftsmenByUnionId
(
string
$unionId
);
public
function
getCraftsmenByUnionId
(
string
$unionId
,
int
$isSeller
=
0
);
/**
...
...
@@ -106,4 +108,14 @@ interface CraftsmanInterface
*/
public
function
syncItems
(
int
$storeId
,
array
$itemIds
,
int
$mode
);
/**
* 根据unionId修改在指定店铺的店员信息
*
* @param string $unionId
* @param integer $storeId
* @param array $data
* @return mixed
*/
public
function
updateCmanByUnionId
(
string
$unionId
,
int
$storeId
,
array
$data
);
}
\ 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