feat: 完善协议管理、师傅资质认证、分账配置并完成测试环境全量部署与同步
这个提交包含在:
@@ -5,7 +5,6 @@ namespace app\index\controller;
|
||||
use addons\wechat\model\WechatCaptcha;
|
||||
use app\common\controller\Frontend;
|
||||
use app\common\library\Ems;
|
||||
use app\common\library\Sms;
|
||||
use app\common\model\Attachment;
|
||||
use think\Config;
|
||||
use think\Cookie;
|
||||
@@ -104,7 +103,7 @@ class User extends Frontend
|
||||
$captchaType = config("fastadmin.user_register_captcha");
|
||||
if ($captchaType) {
|
||||
if ($captchaType == 'mobile') {
|
||||
$captchaResult = Sms::check($mobile, $captcha, 'register');
|
||||
$this->error('短信验证码通道已移除,请切换其他注册校验方式');
|
||||
} elseif ($captchaType == 'email') {
|
||||
$captchaResult = Ems::check($email, $captcha, 'register');
|
||||
} elseif ($captchaType == 'wechat') {
|
||||
|
||||
在新工单中引用
屏蔽一个用户