Commit 2c658e99 authored by tangwei's avatar tangwei

怎加车辆接口

parent 8bdde101
......@@ -21,7 +21,7 @@ import java.util.Map;
*
* @author Dell
*/
@FeignClient(name = "AMOS-EQUIPMANAGE-122", path = "equip", configuration = {MultipartSupportConfig.class})
@FeignClient(name = "AMOS-EQUIPMANAGE", path = "equip", configuration = {MultipartSupportConfig.class})
public interface EquipFeignClient {
/**
......@@ -112,4 +112,13 @@ public interface EquipFeignClient {
@RequestMapping(value = "/sourceFile/findImgByFileCategory", method = RequestMethod.GET)
ResponseModel<List<Map<String,Object>>> findImgByFileCategory(@RequestParam String id,@RequestParam String fileCategory);
/**
* 车辆信息
*
* **/
@RequestMapping(value = "/car/getTeamCarList", method = RequestMethod.GET)
ResponseModel<List<Map<String,Object>>> getTeamCarList();
}
......@@ -758,4 +758,27 @@ public class CommandController extends BaseController {
}
@TycloudOperation( needAuth = false, ApiLevel = UserType.AGENCY)
@GetMapping(value = "fireCar/list")
@ApiOperation(httpMethod = "GET", value = "车辆资源", notes = "车辆资源")
public ResponseModel<List<Map<String,Object>>> getTeamCarList() {
List<Map<String,Object>> list= equipFeignClient.getTeamCarList().getResult();
return ResponseHelper.buildResponse(list);
}
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment