Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
services
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
tencent
services
Commits
09fbfd56
Commit
09fbfd56
authored
Jan 18, 2019
by
feixiang
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'test'
parents
0f270f42
e942587b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
1 deletions
+10
-1
src/Order/Enum/SellerOrderEnum.php
+0
-1
src/Store/Lib/StoreInterface.php
+10
-0
No files found.
src/Order/Enum/SellerOrderEnum.php
View file @
09fbfd56
...
@@ -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
//订单状态
//订单状态
...
...
src/Store/Lib/StoreInterface.php
View file @
09fbfd56
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment