企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
# 1、新增车辆 ## 接口描述 新增车辆 ## 接口地址 https://ip//app/staff/admin/add ## 请求参数 | 字段 | 类型 | 是否必须 | 备注 | | --- | --- | --- | --- | |reserve1|String|否|备用1最大长度不能超过200字符 | |reserve2|String|否|备用2最大长度不能超过200字符 | |reserve3|String|否| 备用3最大长度不能超过200字符 | |remark|String|否|备注最大长度不能超过500字符 | |maintainer|String|是|维护人不能为空 | |tenantId|String|是|租户id | |vendorId|String|是|商户ID必填 | |vendorName|String|是|商户名称不能为空 | |carNumber|String|是|车牌号不能为空 | |address|String|是|地点不能为空 | |contactName|String|是|联系人 | |contactPhone|String|是|联系电话 | ## 请求报文 数据类型Content-Type: form-data ``` address=1 carNumber=1 contactName=1 contactPhone=1 maintainer=1 remark=1 reserve1=1 reserve2=1 reserve3=1 tenantId=1 vendorId=1 vendorName=1 ``` ## 响应参数 | 字段 | | 类型 | 描述 | 备注 | | --- | --- | --- | --- | --- | | code | | String | 返回状态 | 500 - 失败 200 - 成功 | | message | | String | 错误说明 | 请求失败或者发生错误的具体描述 | | timeStamp | | datetime | 请求时间戳 | 请求时带的时间戳 | | result | | Object | | 结果集 | ## 响应报文 ``` { "code": 200, "message": "success", "result": null, "success": true, "timestamp": 1571732931187 } ``` # 2、批量新增车辆 ## 接口描述 批量新增车辆 ## 接口地址 https://ip//app/staff/admin/adds ## 请求参数 | 字段 | 类型 | 是否必须 | 备注 | | --- | --- | --- | --- | |reserve1|String|否|备用1最大长度不能超过200字符 | |reserve2|String|否|备用2最大长度不能超过200字符 | |reserve3|String|否| 备用3最大长度不能超过200字符 | |remark|String|否|备注最大长度不能超过500字符 | |maintainer|String|是|维护人不能为空 | |tenantId|String|是|租户id | |vendorId|String|是|商户ID必填 | |vendorName|String|是|商户名称不能为空 | |carNumber|String|是|车牌号不能为空 | |address|String|是|地点不能为空 | |contactName|String|是|联系人 | |contactPhone|String|是|联系电话 | ## 请求报文 数据类型Content-Type: application/json ``` [ { "address": "string", "carNumber": "string", "contactName": "string", "contactPhone": "string", "maintainer": "string", "remark": "string", "reserve1": "string", "reserve2": "string", "reserve3": "string", "tenantId": "string", "vendorId": "string", "vendorName": "string" } ] ``` ## 响应参数 | 字段 | | 类型 | 描述 | 备注 | | --- | --- | --- | --- | --- | | code | | String | 返回状态 | 500 - 失败 200 - 成功 | | message | | String | 错误说明 | 请求失败或者发生错误的具体描述 | | timeStamp | | datetime | 请求时间戳 | 请求时带的时间戳 | | result | | Object | | 结果集 | ## 响应报文 ``` { "code": 200, "message": "success", "result": null, "success": true, "timestamp": 1571732931187 } ``` # 3、修改车辆 信息 ## 接口描述 修改车辆 信息 ## 接口地址 https://ip//app/staff/admin/update ## 请求参数 | 字段 | 类型 | 是否必须 | 备注 | | --- | --- | --- | --- | |reserve1|String|否|备用1最大长度不能超过200字符 | |reserve2|String|否|备用2最大长度不能超过200字符 | |reserve3|String|否| 备用3最大长度不能超过200字符 | |remark|String|否|备注最大长度不能超过500字符 | |maintainer|String|是|维护人不能为空 | |tenantId|String|是|租户id | |vendorId|String|是|商户ID必填 | |vendorName|String|是|商户名称不能为空 | |carNumber|String|是|车牌号不能为空 | |address|String|是|地点不能为空 | |id|String|是|id | ## 请求报文 数据类型Content-Type: form-data ``` id=1 address=1 carNumber=1 maintainer=1 remark=1 reserve1=1 reserve2=1 reserve3=1 tenantId=1 vendorId=1 vendorName=1 ``` ## 响应参数 | 字段 | | 类型 | 描述 | 备注 | | --- | --- | --- | --- | --- | | code | | String | 返回状态 | 500 - 失败 200 - 成功 | | message | | String | 错误说明 | 请求失败或者发生错误的具体描述 | | timeStamp | | datetime | 请求时间戳 | 请求时带的时间戳 | | result | | Object | | 结果集 | ## 响应报文 ``` { "code": 200, "message": "success", "result": null, "success": true, "timestamp": 1571732931187 } ``` # 1、删除车辆 ## 接口描述 删除车辆 ## 接口地址 https://ip//app/staff/admin/delete ## 请求参数 | 字段 | 类型 | 是否必须 | 备注 | | --- | --- | --- | --- | |id|String|是|id多条用英文逗号分隔| ## 请求报文 数据类型Content-Type: form-data ``` id=1 ``` ## 响应参数 | 字段 | | 类型 | 描述 | 备注 | | --- | --- | --- | --- | --- | | code | | String | 返回状态 | 500 - 失败 200 - 成功 | | message | | String | 错误说明 | 请求失败或者发生错误的具体描述 | | timeStamp | | datetime | 请求时间戳 | 请求时带的时间戳 | | result | | Object | | 结果集 | ## 响应报文 ``` { "code": 200, "message": "success", "result": null, "success": true, "timestamp": 1571732931187 } ```