Loading…

Submit vote [by category]

```javascript WXAPI.voteCategory({ token: '1234' }) ``` + token current user login credentials + categoryId category ID + content The content of the vote (string) An example of content is as follows: ```javascript {remark: 'Remarks for this answer',123: {items: [1,2,3],remark: 'Remarks for this question'}} ``` + The outer remark and the inner remark should be distinguished. The inner remark is the remark for the specific option. + 123 is the ID of the question. There may be many questions under one category. + items are the options for this question (one in the case of single selection, multiple in the case of multiple selection) ```json { "code": 0, "data": { "id": 32, "uid": 5003301, "userId": 29 }, "msg": "success" } ```