简要描述:

  • 商机详情

请求域名:

  • http://xx.com

请求URL:

POST/plugin.wechat-chat-sidebar.frontend.controller.customer.opportunity.save

参数:

参数名 是否必须 类型 说明
client 是 string 值是:work 代表是企业微信端
type 是 int 值是:17 代表是企业微信端
form.details 是 int 详情
form.name 是 int 名称
form.status_id 是 string 状态id
form.type_id 是 int 类型id
form.file_id 否 string 通过接口upload获得;文件id用逗号分隔。例如(32,64,42)
opportunity_id 否 int 商机id;有就是更新

返回示例:

正确时返回:

{
    "result": 1,
    "msg": "成功",
    "data": {}
}

错误时返回:

  {
    "errcode": 500,
    "errmsg": "invalid appid"
  }