初始化
This commit is contained in:
16
app/service/BaseSmsServices.php
Normal file
16
app/service/BaseSmsServices.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
namespace app\service;
|
||||
/**
|
||||
* 发送短信接口
|
||||
*/
|
||||
interface BaseSmsServices
|
||||
{
|
||||
/**
|
||||
* 发送短信
|
||||
* @param string $phone
|
||||
* @param int $type
|
||||
* @return mixed
|
||||
*/
|
||||
public function send(string $phone, int $type);
|
||||
}
|
||||
Reference in New Issue
Block a user