...
|
...
|
@@ -52,8 +52,7 @@ class UserController extends RestBaseController |
|
|
public function registerPost(){
|
|
|
$param=$this->request->param();
|
|
|
$param['status']=1;
|
|
|
Db::name('user')->where('id')
|
|
|
Db::name('user_score_log')->insert(['score'=>-1]);
|
|
|
$this->success('我的健康档案',$data);
|
|
|
Db::name('user')->where('id')->update($param);
|
|
|
$this->success('提交成功');
|
|
|
}
|
|
|
} |
...
|
...
|
|