Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
C
chnmuseum-party
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
liqin
chnmuseum-party
Commits
37c0826f
Commit
37c0826f
authored
Jun 07, 2021
by
nie'hong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
统计h5导览扫码次数
parent
880587ce
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
StatisticController.java
...n/chnmuseum/party/web/controller/StatisticController.java
+10
-0
No files found.
src/main/java/cn/chnmuseum/party/web/controller/StatisticController.java
View file @
37c0826f
...
...
@@ -120,5 +120,15 @@ public class StatisticController extends BaseController {
return
resultMap
;
}
@ApiOperation
(
value
=
"统计导览扫码次数"
,
notes
=
"统计导览扫码次数"
)
@ApiImplicitParam
(
name
=
"videoId"
,
value
=
"导览视频id"
)
@GetMapping
(
"/getH5VideoStatistics"
)
public
Map
getH5VideoStatistics
(
String
videoId
){
LambdaQueryWrapper
<
TVideoVisitor
>
tVideoVisitorLambdaQueryWrapper
=
new
LambdaQueryWrapper
<>();
tVideoVisitorLambdaQueryWrapper
.
eq
(
TVideoVisitor:
:
getVideoId
,
videoId
);
int
count
=
this
.
tVideoVisitorService
.
count
(
tVideoVisitorLambdaQueryWrapper
);
return
getResult
(
count
);
}
}
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