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
1389b4e0
Commit
1389b4e0
authored
Nov 06, 2019
by
王召彬
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'test' of
http://git.dev.2b3.cn/tencent/services
into test
parents
c614894b
c601dbed
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
23 additions
and
0 deletions
+23
-0
src/Buyer/Lib/AgentInterface.php
+4
-0
src/Buyer/Lib/BuyerInterface.php
+9
-0
src/MemberCard/Lib/MemberCardInterface.php
+10
-0
No files found.
src/Buyer/Lib/AgentInterface.php
View file @
1389b4e0
...
...
@@ -12,6 +12,8 @@ interface AgentInterface
{
public
function
getByUnionId
(
string
$unionId
,
int
$storeId
);
public
function
getByOpenId
(
string
$openId
,
int
$storeId
);
/**
* 代理是否可用
* @param int $storeId
...
...
@@ -19,4 +21,5 @@ interface AgentInterface
* @return bool
*/
public
function
usefulAgent
(
int
$storeId
,
int
$agentId
);
}
\ No newline at end of file
src/Buyer/Lib/BuyerInterface.php
View file @
1389b4e0
...
...
@@ -129,4 +129,12 @@ interface BuyerInterface
* @return mixed
*/
public
function
updateUser
(
$storeId
,
$buyerId
,
$data
);
/**
* 获取买家信息
* @param $storeId
* @param $openId
* @return mixed
*/
public
function
getUserByOpenId
(
$storeId
,
$openId
);
}
\ No newline at end of file
src/MemberCard/Lib/MemberCardInterface.php
View file @
1389b4e0
...
...
@@ -20,6 +20,7 @@ use Swoft\Core\ResultInterface;
* @method ResultInterface deferPayOrder(int $storeId,string $orderSn,int $payStatus)
* @method ResultInterface deferGetOrder(int $storeId,int $id)
* @method ResultInterface deferGetOrderBySn(int $storeId,string $sn)
* @method ResultInterface deferIfUserGetCard(int $storeId,int $userId)
*/
/**
* The interface of demo service
...
...
@@ -64,4 +65,13 @@ interface MemberCardInterface
* @return array
*/
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