修改发送短信验证码长度问题,修改药师账号不存在注册问题
This commit is contained in:
@@ -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,"获取验证码");
|
||||
|
||||
Reference in New Issue
Block a user