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
9b7fb0fc
Commit
9b7fb0fc
authored
May 09, 2019
by
dzhang
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'xmy' of
http://git.dev.2b3.cn/tencent/services
into xmy
parents
9b8f9ea7
d49546c2
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 @
9b7fb0fc
...
@@ -18,7 +18,8 @@ use Swoft\Core\ResultInterface;
...
@@ -18,7 +18,8 @@ use Swoft\Core\ResultInterface;
*
*
* @method ResultInterface deferPayStatus(int $storeId,int $bargainbranchId,int $status,int $orderId)
* @method ResultInterface deferPayStatus(int $storeId,int $bargainbranchId,int $status,int $orderId)
* @method ResultInterface deferSpendCardMoney(int $storeId, int $buyerId, array $subOrders)
* @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
interface
RechargeInterface
{
{
...
@@ -75,6 +76,18 @@ interface RechargeInterface
...
@@ -75,6 +76,18 @@ interface RechargeInterface
string
$itemTitle
,
string
$itemTitle
,
int
$payMoney
int
$payMoney
);
);
/**
* 统计储值卡上架数/总数
* @param int $storeId
* @return mixed
* 响应数据:
* [
* 'num' => 上架数,
* 'total' => 总数
* ]
*/
public
function
statisNum
(
int
$storeId
);
}
}
...
...
src/TimesCard/Lib/TimesCardInterface.php
View file @
9b7fb0fc
...
@@ -20,6 +20,7 @@ use Swoft\Core\ResultInterface;
...
@@ -20,6 +20,7 @@ use Swoft\Core\ResultInterface;
* @method ResultInterface deferSpendTimesCard(int $storeId, int $buyerId, int $usercardId, array $subOrders)
* @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 deferReturnCardTimes( int $storeId,int $buyerId,int $itemOrderId,int $goodsId,string $itemTitle,int $times)
* @method ResultInterface defergetTimesCardUserCardInfo(int $storeId, int $goodsId)
* @method ResultInterface defergetTimesCardUserCardInfo(int $storeId, int $goodsId)
* @method ResultInterface deferStatisNum( int $storeId)
*/
*/
interface
TimesCardInterface
interface
TimesCardInterface
{
{
...
@@ -78,6 +79,18 @@ interface TimesCardInterface
...
@@ -78,6 +79,18 @@ interface TimesCardInterface
public
function
getTimesCardUserCardInfo
(
public
function
getTimesCardUserCardInfo
(
int
$storeId
,
int
$goodsId
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