发布推送
This commit is contained in:
17
app/Thrid/Sms/SmsInterface.php
Normal file
17
app/Thrid/Sms/SmsInterface.php
Normal file
@ -0,0 +1,17 @@
|
||||
<?php
|
||||
namespace App\Thrid\Sms;
|
||||
|
||||
|
||||
interface SmsInterface
|
||||
{
|
||||
const SMS_SEND_TYPE_CHARACTER = 1;
|
||||
const SMS_SEND_TYPE_MARKETING = 2;
|
||||
const SMS_SEND_TYPE = [
|
||||
self::SMS_SEND_TYPE_CHARACTER => '验证类',
|
||||
self::SMS_SEND_TYPE_MARKETING => '营销类',
|
||||
];
|
||||
|
||||
function sendSmsCode($phone, $code,$iSendType = self::SMS_SEND_TYPE_CHARACTER): bool;
|
||||
|
||||
function getUrl(): string;
|
||||
}
|
||||
Reference in New Issue
Block a user