###### tags: `api`
# 會員操作
### POST http://localhost:5000/user/info/update
desc: 更新使用者資料
request:
```
type-json
{
"authId": String(必填),
"nickName": String,(非必填)
"gender": String,(非必填)
"birthday": String,(非必填)
"school": [String],(非必填)
"goodAt": [String],(非必填)
"weakAt": [String](非必填)
}
```
response--success:
:::success
```
{
"error": "0000",
"message": "OK"
}
```
:::
hint:
---
### GET http://localhost:5000/user/:authId
desc: 拿取user的個人資料
response-success:
:::success
```
{
"error": 0,
"data": {
"name": "test",
"email": "test@gmail.com",
"gender": 0,
"birthday": "",
"priority": 1,
"point": 0,
"authId": "test123",
"authFrom": "google",
"school": [],
"goodAt": [],
"weakAt": [],
"studentCase": [],
"teacherCase": []
}
}
```
:::