Commit f14fbd56 by 王召彬

添加通过卖家id查询店铺信息的接口

parent 9d5bbd5a
......@@ -16,7 +16,8 @@ use Swoft\Core\ResultInterface;
* The interface of store service
*
* @method ResultInterface deferIsCertified(int $storeId)
* @method ResultInterface deferGetStore(int $storeId)
* @method ResultInterface deferGetStoreByStoreId(int $storeId)
* @method ResultInterface deferGetStoreBySellerId(int $sellerId)
* @method ResultInterface deferUpdateStore(int $storeId, array $data)
* @method ResultInterface deferDeleteStore(int $storeId)
*/
......@@ -36,7 +37,15 @@ interface StoreInterface
* @param integer $storeId
* @return array 空数组表示没有查询到记录
*/
public function getStore(int $storeId);
public function getStoreByStoreId(int $storeId);
/**
* 根据卖家ID获取店铺信息
*
* @param integer $sellerId
* @return array
*/
public function getStoreBySellerId(int $sellerId);
/**
* 根据店铺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