Commit 35652184 by 王洁

getOrderBySn

parent fb5c7faf
......@@ -21,6 +21,7 @@ use Swoft\Core\ResultInterface;
* @method ResultInterface deferCreateCost(int $storeId,string $scene,int $decnum,string $nickname,string $phone)
* @method ResultInterface deferPayOrder(string $orderNo,int $payStatus)
* @method ResultInterface deferGetOrder(int $storeId,int $smsOId)
* @method ResultInterface deferGetOrderBySn(int $storeId,string $sn)
*/
interface SMSInterface
{
......@@ -49,11 +50,20 @@ interface SMSInterface
public function payOrder(string $orderNo,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