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