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
794f4197
Commit
794f4197
authored
Mar 29, 2019
by
王洁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
+storeid
parent
eaea326b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
25 deletions
+4
-25
src/SMS/Lib/SMSInterface.php
+4
-25
No files found.
src/SMS/Lib/SMSInterface.php
View file @
794f4197
...
...
@@ -18,10 +18,8 @@ use Swoft\Core\ResultInterface;
/**
* The interface of SMS service
*
* @method ResultInterface deferCreateCost(int $storeId,string $scene,int $decnum,string $nickname,string $phone)
* @method ResultInterface deferPayOrder(string $orderSn,int $payStatus)
* @method ResultInterface deferGetOrder(int $storeId,int $smsOId)
* @method ResultInterface deferGetOrderBySn(int $storeId,string $sn)
* @method ResultInterface defercreateCost(int $storeId,string $scene,int $decnum,string $nickname,string $phone)
* @method ResultInterface deferpayOrder(string $orderNo,int $payStatus)
*/
interface
SMSInterface
{
...
...
@@ -38,32 +36,13 @@ interface SMSInterface
public
function
createCost
(
int
$storeId
,
string
$scene
,
int
$decnum
,
string
$nickname
,
string
$phone
);
/**
* 支付短信套餐包订单
*
* @param string $order
Sn
* @param string $order
No
* @param integer $payStatus
* @return int
*/
public
function
payOrder
(
string
$orderSn
,
int
$payStatus
);
/**
* 根据主键获取短信订单
* @param integer $storeId
* @param integer $smsOId
* @return array
*/
public
function
getOrder
(
int
$storeId
,
int
$smsOId
);
/**
* 根据订单编号获取短信订单
*
* @param integer $storeId
* @param string $sn
* @return array
*/
public
function
getOrderBySn
(
int
$storeId
,
string
$sn
);
public
function
payOrder
(
string
$orderNo
,
int
$payStatus
);
}
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