Commit 2c0f99f4 by 王洁

feature: SMS getCountLeft接口

parent 10275072
......@@ -22,6 +22,7 @@ use Swoft\Core\ResultInterface;
* @method ResultInterface deferPayOrder(int $storeId,string $orderSn,int $payStatus)
* @method ResultInterface deferGetOrder(int $storeId,int $smsOId)
* @method ResultInterface deferGetOrderBySn(int $storeId,string $sn)
* @method ResultInterface deferGetCountLeft(int $storeId)
*/
interface SMSInterface
{
......@@ -63,5 +64,14 @@ interface SMSInterface
* @return array
*/
public function getOrderBySn(int $storeId,string $sn);
/**
* 根据店铺id 获取剩余的短信条数
*
* @param integer $storeId
* @return int
*/
public function getCountLeft(int $storeId);
}
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