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
72c8ab81
Commit
72c8ab81
authored
Aug 24, 2019
by
王召彬
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature-v3' into test
parents
479d1978
e7dc5a24
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
34 additions
and
2 deletions
+34
-2
UPGRADE_2.x.md
+11
-1
src/Craftsman/Lib/CraftsmanInterface.php
+21
-0
src/SellerDistribution/Enum/SellerDistributionEnum.php
+2
-1
No files found.
UPGRADE_2.x.md
View file @
72c8ab81
# 2.0.17
-
配合前端v2版本上线
# 2.0.16
-
修复bug
# 2.0.15
-
分成比例修改
# 2.0.14
-
Cls记日志忽略‘验证器不存在’的日志
...
...
@@ -8,7 +17,8 @@
-
配合前端改版后端大调整
# 2.0.11
-
砍价订单枚举状态加订单删除
-
关闭拼团活动状态
砍价订单枚举状态加订单删除
# 2.0.10
-
根据商户平台id获取对应的小程序托管配置
...
...
src/Craftsman/Lib/CraftsmanInterface.php
View file @
72c8ab81
...
...
@@ -18,6 +18,7 @@ use Swoft\Core\ResultInterface;
*
* @method ResultInterface deferGetCraftsmenList(int $storeId, int $subStoreId = 0, int $itemId = 0)
* @method ResultInterface deferGetCraftsmenByUnionId(string $unionId)
* @method ResultInterface deferCreateCraftsmen($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)
...
...
@@ -37,6 +38,26 @@ interface CraftsmanInterface
// wechat 店员微信号
/**
* 创建店员
*
* @param integer $storeId
* @param array $params 所需参数
*array(
* 'name' => '', // 姓名
* 'sex' => '', // 性别
* 'wxNick' => '', // 昵称
* 'headimg' => '', // 头像
* 'items' => '', // 包含的服务项目列表
* 'subStores' => '', // 所属门店列表
* 'motto' => '', // 个性签名
* 'adept' => '', // 个人擅长
* 'wechat' => '', // 微信号
*)
* @return int|bool
*/
public
function
createCraftsmen
(
$storeId
,
array
$params
);
/**
* 获取店员列表
*
* @param integer $storeId
...
...
src/SellerDistribution/Enum/SellerDistributionEnum.php
View file @
72c8ab81
...
...
@@ -11,5 +11,5 @@ namespace Hdll\Services\SellerDistribution\Enum;
class
SellerDistributionEnum
{
const
SETTING
=
[
1
=>
0.
4
,
2
=>
0.25
];
const
SETTING
=
[
1
=>
0.
2
,
2
=>
0.1
];
}
\ 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