修改产品数据
**测试地址**
- /commodity/updateCommodity
**表头**
- application/json;charset=utf-8
**请求方式**
- PUT
**数据展示**
```json
{
"brand": "string",
"catModel": "string",
"code": "string",
"id": 0,
"brand": "CARE LORD",
"catModel": "后刹车片(格蓝迪)",
"code": "项目编码",
"inventory": 2,
"name": "HSCPGLD",
"pickGoods": "拉货",
"price": 20,
"specification": "xxx",
"unit": "个"
}
```
|参数名|类型|说明|是否必填
|-|-|-|-|-|
|id|int|主键(更新标识)|true|
|brand|string|品牌|false|
|catModel|string|适合车辆|true|
|code|string|项目编码|true|
|inventory|int|库存|false|
|name|int|项目名称|true|
|pickGoods|int|拉货|false|
|specification|string|规格|false|
|unit|string|单位|false|
**返回实例**
```json
{
"msg": "保存成功!",
"code": 200
}
```
|参数名|类型|目录|说明|
|-|-|-|-|-|
|code|int|1|状态码|
|msg|string|1|状态|