Commit 36ac557a by 王召彬

test

parent ac6732cf
...@@ -22,6 +22,7 @@ use Swoft\Core\ResultInterface; ...@@ -22,6 +22,7 @@ use Swoft\Core\ResultInterface;
* @method ResultInterface deferGetListBySellerIds(array $sellerIds) * @method ResultInterface deferGetListBySellerIds(array $sellerIds)
* @method ResultInterface deferGetStoreByMobile(int $mobile, array $fields = []) * @method ResultInterface deferGetStoreByMobile(int $mobile, array $fields = [])
* @method ResultInterface deferUpdateStore(int $storeId, array $data) * @method ResultInterface deferUpdateStore(int $storeId, array $data)
* @method ResultInterface deferAddVipTime(int $storeId, int $days)
* @method ResultInterface deferDeleteStore(int $storeId) * @method ResultInterface deferDeleteStore(int $storeId)
* @method ResultInterface deferGetWxacodeUrl(int $storeId, int $type, string $page, string $scene) * @method ResultInterface deferGetWxacodeUrl(int $storeId, int $type, string $page, string $scene)
*/ */
...@@ -103,6 +104,15 @@ interface StoreInterface ...@@ -103,6 +104,15 @@ interface StoreInterface
public function updateStore(int $storeId, array $data); public function updateStore(int $storeId, array $data);
/** /**
* 根据店铺ID增加店铺VIP时间
*
* @param integer $storeId
* @param array $days 需要增加的天数
* @return int 成功更新的条数
*/
public function addVipTime(int $storeId, int $days);
/**
* 根据店铺id删除一个店铺记录 * 根据店铺id删除一个店铺记录
* *
* @param integer $storeId * @param integer $storeId
......
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