Commit ff238e9f by 王洁

加店主身份

parent a21d9299
......@@ -17,7 +17,7 @@ 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)
* @method ResultInterface deferGetCraftsmenByUnionId(string $unionId, int $isSeller)
* @method ResultInterface defercreateCraftsman($storeId, array $params)
* @method ResultInterface deferGetCraftsmenById(int $storeId, int $cmanId)
* @method ResultInterface deferGetCraftsmenByIds(int $storeId, array $cmanIds)
......@@ -72,9 +72,10 @@ interface CraftsmanInterface
* 根据unionId获取店员信息
*
* @param string $unionId
* @param int $isSeller 是否店主 1-是 ,0-否
* @return array
*/
public function getCraftsmenByUnionId(string $unionId);
public function getCraftsmenByUnionId(string $unionId, int $isSeller);
/**
......
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