修改发送短信验证码长度问题,修改药师账号不存在注册问题

This commit is contained in:
2023-03-24 10:41:25 +08:00
parent d879d99a44
commit 3ca98021a0
5 changed files with 12 additions and 5 deletions
+1 -1
View File
@@ -41,7 +41,7 @@ class CodeService extends BaseService
$template_code = "SMS_243055263";
$template_param = array();
$template_param['code'] = mt_rand(1,9) . (int)substr($generator->generate(),-3);
$template_param['code'] = mt_rand(1111,9999);
// 发送短信
Dysms::sendSms($phone,$template_param,$template_code,"获取验证码");