多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
## 添加卸油点 >[info] 状态和类型允许的值参考[字段值对照表](../%E5%AD%97%E6%AE%B5%E5%80%BC%E5%AF%B9%E7%85%A7%E8%A1%A8.md) ~~~[api] post:/dispatch/site/add *int:fleet_id#车队ID *string:name#名称 *string:region_id#区域ID *string:address#详细地址 *float:longitude#经度 *float:latitude#纬度 *string:status=close#状态 *string:type=unload#类型 <<< success { "code": 0, "msg": "添加成功", "data": { "fleet_id": "0", "name": "天安门", "region_id": "113", "address": "北京市东城区长安街", "longitude": "116.403954", "latitude": "39.915115", "status": "enable", "type": "unload", "create_time": "2021-10-25 16:25:33", "update_time": "2021-10-25 16:25:33", "id": "1" } } <<< error { "code": 1, "msg": "数据校验不通过:名称不能为空" } ~~~