diff --git a/app/user/controller/RegisterController.php b/app/user/controller/RegisterController.php index f95e238..805445a 100644 --- a/app/user/controller/RegisterController.php +++ b/app/user/controller/RegisterController.php @@ -38,7 +38,7 @@ class RegisterController extends WeChatBaseController $code=cmf_get_verification_code($param['mobile'],4); // var_dump($code); if ($code) { - $mobile=new (); + $mobile=new MobileService(); $mobile->sendTemplateSMS($param['mobile'],['code'=>$code],1); $re=cmf_verification_code_log($param['mobile'], $code, time()+60); if ($re){