This commit is contained in:
2025-08-19 17:30:51 +08:00
parent fd44965f8a
commit 353c72c602
74 changed files with 10575 additions and 44 deletions

View File

@@ -0,0 +1,28 @@
<?php
namespace app\czg\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 LoginController extends Frontend
{
protected array $noNeedLogin = ['*'];
// 发送验证码
public function sendMsg()
{
$get = $this->request->route->param();
return $this->ApiDataReturn(Msg::sendMsg($get['phone'], $get['event']));
}
}