作者 潘浩文
1 个管道 的构建 通过 耗费 1 秒

用户注册渲染

... ... @@ -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
... ...