Commit 356c95e1 by 王召彬

获取该店铺下的卖家身份的店员

parent 3fbf86b0
......@@ -23,6 +23,7 @@ use Swoft\Core\ResultInterface;
* @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)
* @method ResultInterface deferGetSellerCraftsman(int $storeId, array $fields = [])
*/
interface CraftsmanInterface
{
......@@ -78,6 +79,14 @@ interface CraftsmanInterface
*/
public function getCraftsmenByUnionId(string $unionId, int $isSeller =0);
/**
* 获取该店铺下的卖家身份的店员
*
* @param integer $storeId
* @param array $fields
* @return array
*/
public function getSellerCraftsman(int $storeId, array $fields = []);
/**
* 根据店铺Id和店员Id获取店员信息
......
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