# User用户信息相关

---

  - [UidTranslationImAccountuid和imAccount相互转换](#UidTranslationImAccount)
  - [Refresh刷新IM-Account和IM-Sig](#Refresh)
  - [SelectCover切换封面图](#SelectCover)
  - [DeletePhotos删除照片](#DeletePhotos)
  - [CreateAnswer回答个人问题](#CreateAnswer)
  - [GetQuestionAnswerList获取我回答的问题](#GetQuestionAnswerList)
  - [GetQuestionInfo获取问题详情](#GetQuestionInfo)
  - [GetQuestionList获取问题列表](#GetQuestionList)
  - [StoreSelfPartner创建个人交友卡片](#StoreSelfPartner)
  - [ToggleTag切换个人标签](#ToggleTag)
  - [UpdateProfile更新用户信息](#UpdateProfile)
  - [GetFpdxProfile原/api/msy/user&model=fpdx](#GetFpdxProfile)
  - [Profile用户信息](#Profile)

<a name="UidTranslationImAccount"></a>
## UidTranslationImAccountuid和imAccount相互转换

`POST`

`/stub-api/v1_1/user/uid_translation_im_account`

### Requests
|Key|Description|Type|Required|
|:-|:-|:-|:-|
|reqUid | |`int`| |
|reqIMAccount | |`String`| |

### Responses
|Key|Description|Type|Required|
|:-|:-|:-|:-|
|uid | |`int`| |
|imAccount | |`String`| |

<a name="Refresh"></a>
## Refresh刷新IM-Account和IM-Sig

`POST`

`/stub-api/v1_1/user/refresh`

### Responses
|Key|Description|Type|Required|
|:-|:-|:-|:-|
|uid | |`int`|true|
|imAccount |用户IM的account|`String`|true|
|imSig |用户IM的Sig|`String`|true|

<a name="SelectCover"></a>
## SelectCover切换封面图

`POST`

`/stub-api/v1_1/user/select_cover`

### Requests
|Key|Description|Type|Required|
|:-|:-|:-|:-|
|field | |`String`|true|

<a name="DeletePhotos"></a>
## DeletePhotos删除照片

`POST`

`/stub-api/v1_1/user/delete_photos`

### Requests
|Key|Description|Type|Required|
|:-|:-|:-|:-|
|field | |`String`|true|

<a name="CreateAnswer"></a>
## CreateAnswer回答个人问题

`POST`

`/stub-api/v1_1/user/create_answer`


> {primary} 回答个人问题<br>除了questionId，其他参数保持原来规则

### Requests
|Key|Description|Type|Required|
|:-|:-|:-|:-|
|questionId | |`Integer`|true|
|content | |`String`|true|

### Responses
|Key|Description|Type|Required|
|:-|:-|:-|:-|
|result | |`Json`|true|

<a name="GetQuestionAnswerList"></a>
## GetQuestionAnswerList获取我回答的问题

`GET`

`/stub-api/v1_1/user/get_question_answer_list`

### Requests
|Key|Description|Type|Required|
|:-|:-|:-|:-|
|uid | |`Integer`| |

### Responses
|Key|Description|Type|Required|
|:-|:-|:-|:-|
|result | |`Json`|true|

<a name="GetQuestionInfo"></a>
## GetQuestionInfo获取问题详情

`GET`

`/stub-api/v1_1/user/get_question_info`

### Requests
|Key|Description|Type|Required|
|:-|:-|:-|:-|
|questionId | |`Integer`|true|

### Responses
|Key|Description|Type|Required|
|:-|:-|:-|:-|
|result | |`Json`|true|

<a name="GetQuestionList"></a>
## GetQuestionList获取问题列表

`GET`

`/stub-api/v1_1/user/get_question_list`

### Responses
|Key|Description|Type|Required|
|:-|:-|:-|:-|
|result | |`Json`|true|

<a name="StoreSelfPartner"></a>
## StoreSelfPartner创建个人交友卡片

`POST`

`/stub-api/v1_1/user/store_self_partner`

### Requests
|Key|Description|Type|Required|
|:-|:-|:-|:-|
|mediaId | |`String`| |

### Responses
|Key|Description|Type|Required|
|:-|:-|:-|:-|
|result | |`Json`|true|

<a name="ToggleTag"></a>
## ToggleTag切换个人标签

`POST`

`/stub-api/v1_1/user/toggle_tag`

### Requests
|Key|Description|Type|Required|
|:-|:-|:-|:-|
|tagId | |`int`|true|
|group | |`int`|true|

<a name="UpdateProfile"></a>
## UpdateProfile更新用户信息

`POST`

`/stub-api/v1_1/user/update_profile`


> {primary} 更新用户信息<br>这里参数和原来保持一致，只是文档中不会写

### Responses
|Key|Description|Type|Required|
|:-|:-|:-|:-|
|result | |`Json`|true|

<a name="GetFpdxProfile"></a>
## GetFpdxProfile原/api/msy/user&model=fpdx

`GET`

`/stub-api/v1_1/user/get_fpdx_profile`

### Responses
|Key|Description|Type|Required|
|:-|:-|:-|:-|
|user | |[`Models.FpdxProfile`](/stub-docs/{{version}}/generated/models#FpdxProfile)|true|
|supvip | |[`Models.Supvip`](/stub-docs/{{version}}/generated/models#Supvip)| |
|bindFpdxfwh | |`boolean`|true|
|lockCard | |`boolean`|true|
|banner | |[`Models.Banner`](/stub-docs/{{version}}/generated/models#Banner)|true|
|black | |[`Models.Black`](/stub-docs/{{version}}/generated/models#Black)|true|
|appSignAt | |`int`|true|
|course | |`int`|true|
|tags | |`Json`|true|

<a name="Profile"></a>
## Profile用户信息

`GET`

`/stub-api/v1_1/user/profile`

### Requests
|Key|Description|Type|Required|
|:-|:-|:-|:-|
|model | |`String`| |

### Responses
|Key|Description|Type|Required|
|:-|:-|:-|:-|
|result | |[`Models.ProfileUser`](/stub-docs/{{version}}/generated/models#ProfileUser)|true|

