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
afdfbf7d
Commit
afdfbf7d
authored
Oct 19, 2018
by
王召彬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加店员接口
parent
53b52ad6
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
67 additions
and
0 deletions
+67
-0
src/Craftsman/Lib/CraftsmanInterface.php
+67
-0
No files found.
src/Craftsman/Lib/CraftsmanInterface.php
0 → 100644
View file @
afdfbf7d
<?php
/**
* This file is part of Swoft.
*
* @link https://swoft.org
* @document https://doc.swoft.org
* @contact group@swoft.org
* @license https://github.com/swoft-cloud/swoft/blob/master/LICENSE
*/
namespace
Hdll\Services\Craftsman\Lib
;
use
Swoft\Core\ResultInterface
;
/**
* The interface of craftsman service
*
* @method ResultInterface deferGetCraftsmenList(int $storeId, int $subStoreId = 0, int $itemId = 0)
* @method ResultInterface deferGetCraftsmenByUnionId(int $unionId)
* @method ResultInterface deferGetCraftsmenById(int $storeId, int $cmanId)
*/
interface
CraftsmanInterface
{
// 店员服务的字段说明:
// name 店员名字
// sex 性别
// mobile 店员手机
// inReview 审核状态,1审核中,2审核通过
// headimg 店员头像
// items 服务项目id列表,逗号隔开
// subStores 子店铺id列表,逗号隔开
// motto 个人签名
// adept 个人擅长说明
// wechat 店员微信号
/**
* 获取店员列表
*
* @param integer $storeId
* @param integer $subStoreId 子店铺id
* @param integer $itemId 服务项目(商品)id
* @return array
*/
public
function
getCraftsmenList
(
int
$storeId
,
int
$subStoreId
=
0
,
int
$itemId
=
0
);
/**
* 根据unionId获取店员信息
*
* @param integer $unionId
* @return array
*/
public
function
getCraftsmenByUnionId
(
int
$unionId
);
/**
* 根据店铺Id和店员Id获取店员信息
*
* @param integer $storeId
* @param integer $cmanId
* @return array
*/
public
function
getCraftsmenById
(
int
$storeId
,
int
$cmanId
);
}
\ 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