Commit 09fbfd56 by feixiang

Merge branch 'test'

parents 0f270f42 e942587b
...@@ -10,7 +10,6 @@ namespace Hdll\Services\Order\Enum; ...@@ -10,7 +10,6 @@ namespace Hdll\Services\Order\Enum;
class SellerOrderEnum class SellerOrderEnum
{ {
const TYPE_VALUE_ADDED_SERVICE = 1; //vip const TYPE_VALUE_ADDED_SERVICE = 1; //vip
const TYPE_VALUE_TRY_VIP = 2; //使用vip
//订单状态 //订单状态
......
...@@ -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