Commit d0068b27 by 王洁

getOrder

parent 02e2270c
......@@ -18,8 +18,9 @@ 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(string $orderNo,int $payStatus)
* @method ResultInterface deferGetOrder(int $smsOId)
*/
interface SMSInterface
{
......@@ -36,6 +37,8 @@ interface SMSInterface
public function createCost(int $storeId,string $scene,int $decnum,string $nickname,string $phone);
/**
* 支付短信套餐包订单
*
......@@ -44,5 +47,12 @@ interface SMSInterface
* @return int
*/
public function payOrder(string $orderNo,int $payStatus);
/**
* 获取短信订单
* @param integer $smsOId
* @return array
*/
public function getOrder(int $smsOId);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment