Commit e7a97619 by 王召彬

根据店铺名称获取店铺信息

parent 300d82d8
......@@ -18,6 +18,7 @@ use Swoft\Core\ResultInterface;
* @method ResultInterface deferIsCertified(int $storeId)
* @method ResultInterface deferIsNormal(int $storeId)
* @method ResultInterface deferGetStoreByStoreId(int $storeId)
* @method ResultInterface deferGetStoreByStoreName(string $storeName)
* @method ResultInterface deferGetStoreBySellerId(int $sellerId)
* @method ResultInterface deferGetListBySellerIds(array $sellerIds, array $fields = [])
* @method ResultInterface deferGetStoreByMobile(int $mobile, array $fields = [])
......@@ -53,6 +54,14 @@ interface StoreInterface
public function getStoreByStoreId(int $storeId);
/**
* 根据店铺名称获取店铺信息
*
* @param string $storeName
* @return array
*/
public function getStoreByStoreName(string $storeName);
/**
* 根据卖家ID获取店铺信息
*
* @param integer $sellerId
......
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