Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
midjourney-proxy
Overview
Overview
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
徐少华
midjourney-proxy
Commits
d0234f1d
Commit
d0234f1d
authored
Apr 30, 2020
by
阮思源
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
补内部接口
parent
b6855245
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
0 deletions
+18
-0
BrowseRecordConsr.java
...cloud/book/consumer/analysisengine/BrowseRecordConsr.java
+18
-0
No files found.
pcloud-service-book/src/main/java/com/pcloud/book/consumer/analysisengine/BrowseRecordConsr.java
View file @
d0234f1d
...
...
@@ -3,6 +3,7 @@
*/
package
com
.
pcloud
.
book
.
consumer
.
analysisengine
;
import
com.pcloud.analysisengine.browse.dto.BookServeBrowseCountParameterDTO
;
import
com.pcloud.analysisengine.browse.dto.BrowseCacheRecordDto
;
import
com.pcloud.analysisengine.browse.dto.GroupBrowseStatisticVO
;
import
com.pcloud.analysisengine.browse.dto.SBookAnalyzeDto
;
...
...
@@ -160,4 +161,21 @@ public class BrowseRecordConsr {
}
return
map
;
}
@ParamLog
(
"获取图书下应用浏览次数"
)
public
Map
<
String
,
Long
>
getBookServeBrowseCount
(
List
<
Long
>
adviserIds
,
List
<
Long
>
channelIds
,
List
<
Long
>
bookIds
){
Map
<
String
,
Long
>
map
=
new
HashMap
<>();
BookServeBrowseCountParameterDTO
dto
=
new
BookServeBrowseCountParameterDTO
();
dto
.
setBookIds
(
bookIds
);
dto
.
setAdviserIds
(
adviserIds
);
dto
.
setChannelIds
(
channelIds
);
try
{
map
=
ResponseHandleUtil
.
parseMapResponse
(
browseRecordService
.
getBookServeBrowseCount
(
dto
),
String
.
class
,
Long
.
class
);
}
catch
(
Exception
e
)
{
LOGGER
.
error
(
"根获取图书下应用浏览次数"
+
e
.
getMessage
(),
e
);
}
return
map
;
}
}
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