User.md 4.6 KB

User用户信息相关


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| |

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|

SelectCover切换封面图

POST

/stub-api/v1_1/user/select_cover

Requests

|Key|Description|Type|Required| |:-|:-|:-|:-| |field | |String|true|

DeletePhotos删除照片

POST

/stub-api/v1_1/user/delete_photos

Requests

|Key|Description|Type|Required| |:-|:-|:-|:-| |field | |String|true|

CreateAnswer回答个人问题

POST

/stub-api/v1_1/user/create_answer

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

Requests

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

Responses

|Key|Description|Type|Required| |:-|:-|:-|:-| |result | |Json|true|

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|

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|

GetQuestionList获取问题列表

GET

/stub-api/v1_1/user/get_question_list

Responses

|Key|Description|Type|Required| |:-|:-|:-|:-| |result | |Json|true|

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|

ToggleTag切换个人标签

POST

/stub-api/v1_1/user/toggle_tag

Requests

|Key|Description|Type|Required| |:-|:-|:-|:-| |tagId | |int|true| |group | |int|true|

UpdateProfile更新用户信息

POST

/stub-api/v1_1/user/update_profile

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

Responses

|Key|Description|Type|Required| |:-|:-|:-|:-| |result | |Json|true|

GetFpdxProfile原/api/msy/user&model=fpdx

GET

/stub-api/v1_1/user/get_fpdx_profile

Responses

|Key|Description|Type|Required| |:-|:-|:-|:-| |user | |Models.FpdxProfile|true| |supvip | |Models.Supvip| | |bindFpdxfwh | |boolean|true| |lockCard | |boolean|true| |banner | |Models.Banner|true| |black | |Models.Black|true| |appSignAt | |int|true| |course | |int|true| |tags | |Json|true|

Profile用户信息

GET

/stub-api/v1_1/user/profile

Requests

|Key|Description|Type|Required| |:-|:-|:-|:-| |model | |String| |

Responses

|Key|Description|Type|Required| |:-|:-|:-|:-| |result | |Models.ProfileUser|true|