|
@@ -151,7 +151,7 @@ class _userInfo extends pluginBase
|
|
|
$captcha = IFilter::act(IReq::get('captcha','post'));
|
|
|
|
|
|
//add by Scott Chen on 2017-11-03
|
|
|
- //id_type
|
|
|
+ //add id_type
|
|
|
$true_name = IFilter::act(IReq::get('true_name','post'));
|
|
|
$id_type = IFilter::act(IReq::get('id_type','post'));
|
|
|
$id_code = IFilter::act(IReq::get('id_code','post'));
|
|
@@ -215,11 +215,13 @@ class _userInfo extends pluginBase
|
|
|
return "手机号格式不正确";
|
|
|
}
|
|
|
|
|
|
- $_mobileCode = ISafe::get('code'.$mobile);
|
|
|
+ //add by Scott Chen on 2017-11-03
|
|
|
+ //注册填报手机号码,绕过手机验证码
|
|
|
+ /*$_mobileCode = ISafe::get('code'.$mobile);
|
|
|
if(!$mobile_code || !$_mobileCode || $mobile_code != $_mobileCode)
|
|
|
{
|
|
|
return "手机号验证码不正确";
|
|
|
- }
|
|
|
+ }*/
|
|
|
|
|
|
$memberObj = new IModel('member');
|
|
|
$memberRow = $memberObj->getObj('mobile = "'.$mobile.'"');
|