1.URL
http://124.223.60.234:18080/tms/cargotype/addCargoType
2.请求参数
2.1请求头
在Headers里面增加token:对应登录验证成功后,data里面对应的tokenId
2.2.参数示例
{
"orgId":"E86CB5248B36484E924AA0A97783B767",
"name":"冷链货物",
"imgUrl":"",
"descInfo":"xxxxxxxxxxxxxxxx"
}
2.3.参数说明
| 字段 | 类型 | 说明 | 是否必须 |
|---|---|---|---|
| orgId | String | 公司唯一标识 | Y |
| name | String | 货物类型名称 | Y |
| imgUrl | String | 货物类型图标,用户可自定义 | Y |
| descInfo | String | 描述 | Y |
3.接口应答
3.1.返回示例
{
"code": 200,
"message": "Operation succeeded",
"data": {
"id": "CFD0AE96F75B472ABBF0E1FB97FE828D",
"orgId": "E86CB5248B36484E924AA0A97783B767",
"name": "冷链货物",
"imgUrl": "",
"descInfo": "xxxxxxxxxxxxxxxx",
"creator": "F940B79790004404AAC277418FC71C5D"
}
}
3.2.返回结果说明
| 字段 | 类型 | 说明 |
|---|---|---|
| code | int | 返回状态 |
| message | String | 返回结果描述 |
| data | object | 返回结果体 |
Author:admin Create time:2025-11-15 21:56
Last editor:admin Update time:2025-12-08 12:24
Last editor:admin Update time:2025-12-08 12:24