This commit is contained in:
2025-08-14 17:19:26 +08:00
parent 30abda5ba7
commit 281248fd04
245 changed files with 21051 additions and 61 deletions

View File

@@ -0,0 +1,28 @@
<?php
namespace app\admin\controller;
use app\api\model\Msg;
use app\api\model\TbUser;
use app\common\model\SysUser;
use think\facade\Db;
use think\Request;
use Throwable;
use ba\Captcha;
use ba\ClickCaptcha;
use think\facade\Config;
use app\common\facade\Token;
use app\common\controller\Frontend;
use app\api\validate\User as UserValidate;
class Login extends Frontend
{
protected array $noNeedLogin = ['*'];
// 发送验证码
public function sendMsg($phone, $event)
{
$get = $this->request->get();
return $this->ApiDataReturn(Msg::sendMsg($get['phone'], $get['event']));
}
}