编辑商品
接口地址:/resource/editproducts(admin/addons?_plugin=idcsmart_res_supplier&_controller=AdminIndex&_action=postResourceProduct) POST
编辑商品 -- wyh
接口说明:编辑商品
接口参数
| 参数名字 | 类型 | 是否必须 | 默认值 | 其他 | 说明 |
|---|---|---|---|---|---|
| name | 整型 | 必填 | 1 | - | 商品名称 |
| type | 整型 | 必填 | 1 | - | 商品类型 |
| gid | 整型 | 必填 | 1 | - | 分组ID |
| description | 整型 | 必填 | 1 | - | 商品描述 |
| country | 字符串 | 必填 | 1 | - | 国家 |
| province | 字符串 | 必填 | 1 | - | 省 |
| city | 字符串 | 必填 | 1 | - | 市 |
| computer_room | 整型 | 必填 | 1 | - | 机房 |
| percent_value | 整型 | 必填 | 1 | - | 资源池价格百分比 |
| grades[客户等级ID] | 整型 | 必填 | 1 | - | 等级百分比值 |
| intro_open | 整型 | 必填 | 1 | - | 是否开启商品介绍,1开启,0否默认 |
| introduction | 整型 | 必填 | 1 | - | 商品介绍 |
| category_id | 整型 | 必填 | 1 | - | 类目ID |
| fieldsvalues | 数组 | 必填 | 1 | - | 类目字段 |
返回结果
{
"status":200/201/203/204/400/401/406,
"msg":提示信息,
"data":{
}
}提示:此文档是由系统自动生成,如发现错误或疑问请告知开发人员及时修改