Commit 352fd835 by 王召彬

添加获取店铺数量的接口

parent aab6df38
...@@ -26,6 +26,7 @@ use Swoft\Core\ResultInterface; ...@@ -26,6 +26,7 @@ use Swoft\Core\ResultInterface;
* @method ResultInterface deferUpdateStore(int $storeId, array $data) * @method ResultInterface deferUpdateStore(int $storeId, array $data)
* @method ResultInterface deferAddVipTime(int $storeId, int $days) * @method ResultInterface deferAddVipTime(int $storeId, int $days)
* @method ResultInterface deferDeleteStore(int $storeId) * @method ResultInterface deferDeleteStore(int $storeId)
* @method ResultInterface deferGetStoreCount(int $startTime, int $endTime, $edition=null)
* @method ResultInterface deferGetWxacodeUrl(int $storeId, int $type, string $page, string $scene) * @method ResultInterface deferGetWxacodeUrl(int $storeId, int $type, string $page, string $scene)
*/ */
interface StoreInterface interface StoreInterface
...@@ -149,4 +150,14 @@ interface StoreInterface ...@@ -149,4 +150,14 @@ interface StoreInterface
*/ */
public function getWxacodeUrl(int $storeId, int $type, string $page, string $scene); public function getWxacodeUrl(int $storeId, int $type, string $page, string $scene);
/**
* 获取指定时间段内的有效店铺数量
*
* @param integer $startTime
* @param integer $endTime
* @param integer $edition
* @return integer
*/
public function getStoreCount(int $startTime, int $endTime, $edition=null);
} }
\ No newline at end of file
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