🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
## 添加装油点 >[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=enable#状态 *string:type=load#类型 <<< success { "code": 0, "msg": "添加成功", "data": { "fleet_id": "0", "name": "天安门", "region_id": "113", "address": "北京市东城区长安街", "longitude": "116.403954", "latitude": "39.915115", "status": "enable", "type": "load", "create_time": "2021-10-25 16:25:33", "update_time": "2021-10-25 16:25:33", "id": "1" } } <<< error { "code": 1, "msg": "数据校验不通过:名称不能为空" } ~~~