Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
项目统一框架
amos-boot-biz
Commits
2c658e99
Commit
2c658e99
authored
Jul 28, 2021
by
tangwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
怎加车辆接口
parent
8bdde101
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
34 additions
and
1 deletion
+34
-1
EquipFeignClient.java
...join/amos/boot/module/jcs/api/feign/EquipFeignClient.java
+10
-1
CommandController.java
...boot/module/command/biz/controller/CommandController.java
+24
-0
No files found.
amos-boot-module/amos-boot-module-api/amos-boot-module-jcs-api/src/main/java/com/yeejoin/amos/boot/module/jcs/api/feign/EquipFeignClient.java
View file @
2c658e99
...
...
@@ -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
();
}
amos-boot-module/amos-boot-module-biz/amos-boot-module-command-biz/src/main/java/com/yeejoin/amos/boot/module/command/biz/controller/CommandController.java
View file @
2c658e99
...
...
@@ -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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment