Commit e895a64b authored by wxl's avatar wxl

no message

parent fa01ee80
...@@ -88,7 +88,7 @@ class Users extends Common ...@@ -88,7 +88,7 @@ class Users extends Common
if(isset($mobile) && _isMobile($mobile)==false){ if(isset($mobile) && _isMobile($mobile)==false){
$this->error("请填写正确的手机号!"); $this->error("请填写正确的手机号!");
} }
$db=Db::name('member')->where(['uid'=>$this->uid])->update(['sex'=>$sex,'birthday'=>$birthday, $db=Db::name('member')->where(['id'=>$this->uid])->update(['sex'=>$sex,'birthday'=>$birthday,
'mobile'=>$mobile,'email'=>$email,'qianming'=>$qianming]); 'mobile'=>$mobile,'email'=>$email,'qianming'=>$qianming]);
if($db){ if($db){
$this->success([],"签名成功!"); $this->success([],"签名成功!");
......
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