Commit fa01ee80 authored by wxl's avatar wxl

no message

parent af507dc2
......@@ -85,7 +85,7 @@ class Users extends Common
$birthday=$this->request->param("birthday");
$mobile=$this->request->param("mobile");
$email=$this->request->param("email");
if(isset($mobile) && _isMobile($mobile)){
if(isset($mobile) && _isMobile($mobile)==false){
$this->error("请填写正确的手机号!");
}
$db=Db::name('member')->where(['uid'=>$this->uid])->update(['sex'=>$sex,'birthday'=>$birthday,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment