35 lines
617 B
PHP
35 lines
617 B
PHP
<?php
|
|
|
|
namespace app\api\controller;
|
|
|
|
use Throwable;
|
|
use ba\Captcha;
|
|
use ba\ClickCaptcha;
|
|
use think\facade\Validate;
|
|
use app\common\model\User;
|
|
use app\common\library\Email;
|
|
use app\common\controller\Frontend;
|
|
use PHPMailer\PHPMailer\Exception as PHPMailerException;
|
|
|
|
class External extends Frontend
|
|
{
|
|
protected array $noNeedLogin = ['depositNotify'];
|
|
|
|
public function initialize(): void
|
|
{
|
|
parent::initialize();
|
|
}
|
|
|
|
public function depositNotify(): void
|
|
{
|
|
|
|
|
|
try {
|
|
|
|
} catch (PHPMailerException) {
|
|
|
|
}
|
|
|
|
$this->success(__('Mail sent successfully~'));
|
|
}
|
|
} |