...
|
...
|
@@ -62,7 +62,7 @@ class UserController extends RestBaseController |
|
|
*/
|
|
|
public function registerPost(){
|
|
|
$param=$this->request->param();
|
|
|
$param['status']=1;
|
|
|
$param['user_status']=1;
|
|
|
$param['register_time']=time();
|
|
|
Db::name('user')->where('id',$this->getUserId())->update($param);
|
|
|
$this->success('注册信息提交成功');
|
...
|
...
|
|