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
d49546c2
Commit
d49546c2
authored
May 08, 2019
by
zhangsong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加储值卡和次卡统计数量接口
parent
83c26e60
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
1 deletions
+27
-1
src/Recharge/Lib/RechargeInterface.php
+14
-1
src/TimesCard/Lib/TimesCardInterface.php
+13
-0
No files found.
src/Recharge/Lib/RechargeInterface.php
View file @
d49546c2
...
...
@@ -18,7 +18,8 @@ use Swoft\Core\ResultInterface;
*
* @method ResultInterface deferPayStatus(int $storeId,int $bargainbranchId,int $status,int $orderId)
* @method ResultInterface deferSpendCardMoney(int $storeId, int $buyerId, array $subOrders)
* @method ResultInterface deferReturnCardMoney( int $storeId,int $buyerId,int $itemOrderId,string $itemTitle,int $payMoney)
* @method ResultInterface deferReturnCardMoney(int $storeId,int $buyerId,int $itemOrderId,string $itemTitle,int $payMoney)
* @method ResultInterface deferStatisNum(int $storeId)
*/
interface
RechargeInterface
{
...
...
@@ -75,6 +76,18 @@ interface RechargeInterface
string
$itemTitle
,
int
$payMoney
);
/**
* 统计储值卡上架数/总数
* @param int $storeId
* @return mixed
* 响应数据:
* [
* 'num' => 上架数,
* 'total' => 总数
* ]
*/
public
function
statisNum
(
int
$storeId
);
}
...
...
src/TimesCard/Lib/TimesCardInterface.php
View file @
d49546c2
...
...
@@ -20,6 +20,7 @@ use Swoft\Core\ResultInterface;
* @method ResultInterface deferSpendTimesCard(int $storeId, int $buyerId, int $usercardId, array $subOrders)
* @method ResultInterface deferReturnCardTimes( int $storeId,int $buyerId,int $itemOrderId,int $goodsId,string $itemTitle,int $times)
* @method ResultInterface defergetTimesCardUserCardInfo(int $storeId, int $goodsId)
* @method ResultInterface deferStatisNum( int $storeId)
*/
interface
TimesCardInterface
{
...
...
@@ -78,6 +79,18 @@ interface TimesCardInterface
public
function
getTimesCardUserCardInfo
(
int
$storeId
,
int
$goodsId
);
/**
* 统计次卡上架数/总数
* @param int $storeId
* @return mixed
* 响应数据:
* [
* 'num' => 上架数,
* 'total' => 总数
* ]
*/
public
function
statisNum
(
int
$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