首页修改,jk8修改,历史记录相关,api权限
This commit is contained in:
35
app/api/controller/External.php
Normal file
35
app/api/controller/External.php
Normal file
@@ -0,0 +1,35 @@
|
||||
<?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~'));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user