...
|
...
|
@@ -88,4 +88,14 @@ class RegisterController extends WeChatBaseController |
|
|
return $this->redirect(url('portal/index/index'));
|
|
|
}
|
|
|
}
|
|
|
|
|
|
//个人信息ajax提交
|
|
|
public function postInfo(){
|
|
|
$param=$this->request->param();
|
|
|
$re=Db::name('users')->where('open_id',session('wechat_user')['id'])->update($param);
|
|
|
if ($re){
|
|
|
return 1;
|
|
|
}
|
|
|
return 2;
|
|
|
}
|
|
|
} |
|
|
\ No newline at end of file |
...
|
...
|
|