获取题目详情(列出所有可选项)

javascript 复制代码
WXAPI.voteItemDetail(id)
  • id 题目ID
json 复制代码
{
  "code": 0,
  "data": {
    "voteItems": [
      {
        "id": 951,
        "isBest": false,
        "paixu": 0,
        "status": 0,
        "title": "男",
        "titleType": 0,
        "type": 0,
        "userId": 92,
        "voteId": 157,
        "voteNum": 0
      },
      {
        "id": 952,
        "isBest": false,
        "paixu": 0,
        "status": 0,
        "title": "女",
        "titleType": 0,
        "type": 0,
        "userId": 92,
        "voteId": 157,
        "voteNum": 0
      }
    ],
    "extJson": {},
    "info": {
      "categoryId": 86745,
      "content": "",
      "id": 157,
      "isLimitGroup": false,
      "isPublic": false,
      "joinNum": 0,
      "limitUserDay": 0,
      "limitUserTotal": 0,
      "rule": 0,
      "status": 0,
      "title": "性别",
      "type": 0,
      "userId": 92
    }
  },
  "msg": "success"
}