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
1bbf582d
Commit
1bbf582d
authored
Nov 06, 2019
by
xmy
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/test' into test
parents
99e217d6
fbd5decd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
4 deletions
+15
-4
src/Auth/Enum/AuthEnum.php
+4
-3
src/MemberCard/Lib/MemberCardInterface.php
+11
-1
No files found.
src/Auth/Enum/AuthEnum.php
View file @
1bbf582d
...
@@ -26,11 +26,12 @@ class AuthEnum
...
@@ -26,11 +26,12 @@ class AuthEnum
const
AUTH_TYPE_SELLER
=
200
;
//卖家授权
const
AUTH_TYPE_SELLER
=
200
;
//卖家授权
const
AUTH_TYPE_EMPLOYEE
=
201
;
//员工授权
const
AUTH_TYPE_EMPLOYEE
=
201
;
//员工授权
const
AUTH_TYPE_AGENT
=
201
;
//店铺分销代理者授权
const
AUTH_TYPE_E_AND_S
=
203
;
//选择授权(用户自己选择进行员工授权还是卖家授权)
const
AUTH_TYPE_E_AND_S
=
203
;
//选择授权(用户自己选择进行员工授权还是卖家授权)
const
AUTH_TYPE_BUYER
=
204
;
//买家授权
const
AUTH_TYPE_BUYER
=
204
;
//买家授权
const
AUTH_TYPE_AGENT
=
205
;
//店铺分销代理者授权
const
AUTH_TYPE_AGENT_BUYER
=
206
// 买家进入分销商店授权
...
...
src/MemberCard/Lib/MemberCardInterface.php
View file @
1bbf582d
...
@@ -19,7 +19,8 @@ use Swoft\Core\ResultInterface;
...
@@ -19,7 +19,8 @@ use Swoft\Core\ResultInterface;
* @method ResultInterface deferGetWxMsg(array $msgArr)
* @method ResultInterface deferGetWxMsg(array $msgArr)
* @method ResultInterface deferPayOrder(int $storeId,string $orderSn,int $payStatus)
* @method ResultInterface deferPayOrder(int $storeId,string $orderSn,int $payStatus)
* @method ResultInterface deferGetOrder(int $storeId,int $id)
* @method ResultInterface deferGetOrder(int $storeId,int $id)
* @method ResultInterface deferGetOrderBySn(int $storeId,string $sn)
* @method ResultInterface deferGetOrderBySn(int $storeId,string $sn)
* @method ResultInterface deferIfUserGetCard(int $storeId,int $userId)
*/
*/
/**
/**
* The interface of demo service
* The interface of demo service
...
@@ -64,4 +65,13 @@ interface MemberCardInterface
...
@@ -64,4 +65,13 @@ interface MemberCardInterface
* @return array
* @return array
*/
*/
public
function
getOrderBySn
(
int
$storeId
,
string
$sn
);
public
function
getOrderBySn
(
int
$storeId
,
string
$sn
);
/**
* 获取用户领卡状态://0-没有卡 1-未领卡 2-领过了
*
* @param integer $storeId
* @param integer $userId
* @return void
*/
public
function
ifUserGetCard
(
int
$storeId
,
int
$userId
);
}
}
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