Commit b6ee4d58 authored by 刘小敏's avatar 刘小敏

更新用户信息接口去掉性别,增加生日

parent 4dcf6525
......@@ -96,7 +96,7 @@ class User extends Common
}
$user = auth_user();
$params = $this->request->only(['avatar', 'nickname', 'gender']);
$params = $this->request->only(['avatar', 'nickname', 'birthday']);
$this->svalidate($params);
$user->save($params);
......
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