Commit 4661c2d5 by 王洁

rpc storeId

parent 794f4197
......@@ -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 $orderNo
* @param string $orderSn
* @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);
}
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