Commit 15edb62f by 王召彬

添加批量获取店员列表的接口

parent 2a5548c6
......@@ -19,6 +19,7 @@ use Swoft\Core\ResultInterface;
* @method ResultInterface deferGetCraftsmenList(int $storeId, int $subStoreId = 0, int $itemId = 0)
* @method ResultInterface deferGetCraftsmenByUnionId(string $unionId)
* @method ResultInterface deferGetCraftsmenById(int $storeId, int $cmanId)
* @method ResultInterface deferGetCraftsmenByIds(int $storeId, array $cmanIds)
*/
interface CraftsmanInterface
{
......@@ -63,4 +64,14 @@ interface CraftsmanInterface
*/
public function getCraftsmenById(int $storeId, int $cmanId);
/**
* 根据店铺Id和店员Id列表获取店员列表
*
* @param integer $storeId
* @param array $cmanIds
* @Number(name="storeId")
* @return array
*/
public function getCraftsmenByIds(int $storeId, array $cmanIds);
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment