Commit ce33fd1c by 王洁

短信包套餐

parent eb41a55b
<?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);
}
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