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
ceb2f324
Commit
ceb2f324
authored
Jul 30, 2020
by
王召彬
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' into test
parents
5179525f
2e1e8d8d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
2 deletions
+21
-2
UPGRADE_2.x.md
+9
-0
src/Craftsman/Lib/CraftsmanInterface.php
+2
-2
src/Wx3rd/Lib/EntrustedInterface.php
+10
-0
No files found.
UPGRADE_2.x.md
View file @
ceb2f324
# 2.0.78
-
修改方法:getCraftsmenByUnionId
# 2.0.77
-
修改托管数据
# 2.0.76
-
添加删除店员的方法
# 2.0.75
-
外卖功能上线
...
...
src/Craftsman/Lib/CraftsmanInterface.php
View file @
ceb2f324
...
...
@@ -17,7 +17,6 @@ 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, int $isSeller=0)
* @method ResultInterface defercreateCraftsman($storeId, array $params)
* @method ResultInterface deferGetCraftsmenById(int $storeId, int $cmanId)
* @method ResultInterface deferGetCraftsmenByIds(int $storeId, array $cmanIds)
...
...
@@ -75,9 +74,10 @@ interface CraftsmanInterface
*
* @param string $unionId
* @param int $isSeller 是否店主 1-是 ,0-否
* @param int $cmanType 店员类型 0代表所有类型,参加枚举类:CmanEnum
* @return array
*/
public
function
getCraftsmenByUnionId
(
string
$unionId
,
int
$isSeller
=
0
);
public
function
getCraftsmenByUnionId
(
string
$unionId
,
int
$isSeller
=
0
,
int
$cmanType
=
0
);
/**
* 获取该店铺下的卖家身份的店员
...
...
src/Wx3rd/Lib/EntrustedInterface.php
View file @
ceb2f324
...
...
@@ -91,4 +91,13 @@ interface EntrustedInterface
*/
public
function
getMicroMchData
(
int
$storeId
);
/**
* 修改托管数据
*
* @param integer $storeId
* @param array $data
* @return int
*/
public
function
updateEntrustedData
(
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