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
ce33fd1c
Commit
ce33fd1c
authored
Mar 25, 2019
by
王洁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
短信包套餐
parent
eb41a55b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
48 additions
and
0 deletions
+48
-0
src/SMS/Lib/SMSInterface.php
+48
-0
No files found.
src/SMS/Lib/SMSInterface.php
0 → 100644
View file @
ce33fd1c
<?php
/**
* This file is part of Swoft.
*
* @link https://swoft.org
* @document https://doc.swoft.org
* @contact group@swoft.org
* @license https://github.com/swoft-cloud/swoft/blob/master/LICENSE
*/
namespace
Hdll\Services\SMS\Lib
;
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)
*/
interface
SMSInterface
{
/**
* 消费短信
*
* @param integer $storeId
* @param string $scene
* @param integer $decnum
* @param string $nickname
* @param string $phone
* @return int
*/
public
function
createCost
(
int
$storeId
,
string
$scene
,
int
$decnum
,
string
$nickname
,
string
$phone
);
/**
* 支付短信套餐包订单
*
* @param string $orderNo
* @param integer $payStatus
* @return int
*/
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