Commit c499c10d by 王召彬

修改获取店铺信息的接口

parent afeb4104
# 2.0.47
- 修改获取店铺信息的接口
# 2.0.46
- 修复发通知bug
......
......@@ -17,9 +17,9 @@ 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 deferGetStoreByStoreId(int $storeId, array $fields=[])
* @method ResultInterface deferGetStoreByStoreName(string $storeName, array $fields=[])
* @method ResultInterface deferGetStoreBySellerId(int $sellerId, array $fields=[])
* @method ResultInterface deferGetListBySellerIds(array $sellerIds, array $fields = [])
* @method ResultInterface deferGetListByStoreIds(array $storeIds, array $fields = [])
* @method ResultInterface deferGetListByLastMonth()
......@@ -54,7 +54,7 @@ interface StoreInterface
* @param integer $storeId
* @return array 空数组表示没有查询到记录
*/
public function getStoreByStoreId(int $storeId);
public function getStoreByStoreId(int $storeId, array $fields=[]);
/**
* 根据店铺名称获取店铺信息
......@@ -62,7 +62,7 @@ interface StoreInterface
* @param string $storeName
* @return array
*/
public function getStoreByStoreName(string $storeName);
public function getStoreByStoreName(string $storeName, array $fields=[]);
/**
* 根据卖家ID获取店铺信息
......@@ -70,7 +70,7 @@ interface StoreInterface
* @param integer $sellerId
* @return array
*/
public function getStoreBySellerId(int $sellerId);
public function getStoreBySellerId(int $sellerId, array $fields=[]);
/**
* 根据卖家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