发布推送

This commit is contained in:
ROmani
2024-02-26 00:41:25 +08:00
parent 70304f730b
commit 1a9008b318
33 changed files with 1515 additions and 216 deletions

View 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;
}