| xqd
@@ -343,7 +343,7 @@ class CommonController extends Controller
|
|
|
]);
|
|
|
$mobile =$req['phone']; //获取传入的手机号
|
|
|
$verify_code = generate_code();
|
|
|
- $texts = send_sms($mobile,'verify_template_code',['code'=>$verify_code]);
|
|
|
+ $result = send_sms($mobile,'verify_template_code',['code'=>$verify_code]);
|
|
|
if (empty($result['Code']) || $result['Code'] != 'OK'){
|
|
|
return out(null, 30010, '验证码发送失败,请稍后重试');
|
|
|
}
|