WorkPro 手册

接口地址

[接口服务器地址]/addon_vote/api/update.html

修改投票

参数 数据类型 参数类型 说明
Content-Type application/json; charset=UTF-8 string header
authen string header 认证码
appid string header 接入ID
timestamp string header 时间戳
uid string header 当前帐号
lang string header 语言
body string body

请求内容

{
  • id: "",
  • title: "test vote",
  • intro: "",
  • picurl: "",
  • type: "1",
  • min_count: "0",
  • max_count: "0",
  • start_time: "0",
  • end_time: "0",
  • is_img: "",
  • options: [
    1. {
      • name: "0",
      • image: ""
      }
    ],
  • recvers: [
    1. {
      • type: "u",
      • id: "2",
      • name: "用户2"
      }
    ]
}
返回

返回结果