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
9957995b
Commit
9957995b
authored
Aug 17, 2021
by
chenzhao
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/developer' into developer
parents
eea99d56
deb70718
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
1 deletion
+20
-1
EquipFeignClient.java
...n/amos/boot/module/common/api/feign/EquipFeignClient.java
+8
-0
CommandController.java
...boot/module/command/biz/controller/CommandController.java
+12
-1
No files found.
amos-boot-module/amos-boot-module-api/amos-boot-module-common-api/src/main/java/com/yeejoin/amos/boot/module/common/api/feign/EquipFeignClient.java
View file @
9957995b
...
...
@@ -150,6 +150,14 @@ public interface EquipFeignClient {
*/
@RequestMapping
(
value
=
"/video/pageVideo"
,
method
=
RequestMethod
.
GET
)
ResponseModel
<
Page
<
Map
<
String
,
Object
>>>
pageVideo
(
@RequestParam
Integer
pageNum
,
@RequestParam
Integer
pageSize
,
@RequestParam
Double
longitude
,
@RequestParam
Double
latitude
,
@RequestParam
Double
distance
);
/**
*
*获取视频列表
* @param
* @return
*/
@RequestMapping
(
value
=
"/video/getByid"
,
method
=
RequestMethod
.
GET
)
ResponseModel
<
Map
<
String
,
Object
>>
getByid
(
@RequestParam
Long
id
);
}
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 @
9957995b
...
...
@@ -256,7 +256,18 @@ public class CommandController extends BaseController {
}
/**
* 水源列表分页查询
*
* @return
*/
@TycloudOperation
(
needAuth
=
true
,
ApiLevel
=
UserType
.
AGENCY
)
@GetMapping
(
value
=
"video/{id}"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
" 视频详情88"
,
notes
=
"视频详情88"
)
public
ResponseModel
<
Object
>
getVideoByid
(
@PathVariable
Long
id
)
{
ResponseModel
<
Map
<
String
,
Object
>>
data
=
equipFeignClient
.
getByid
(
id
);
return
ResponseHelper
.
buildResponse
(
data
!=
null
?
data
.
getResult
():
null
);
}
/**
* 水源列表分页查询
...
...
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