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
354fac5f
Commit
354fac5f
authored
Aug 01, 2020
by
吴博
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug: [none] fixRightsSetting
parent
dedd3028
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
AppletHomeFacade.java
.../java/com/pcloud/book/applet/facade/AppletHomeFacade.java
+7
-2
No files found.
pcloud-service-book/src/main/java/com/pcloud/book/applet/facade/AppletHomeFacade.java
View file @
354fac5f
...
...
@@ -52,6 +52,7 @@ import org.springframework.web.bind.annotation.RestController;
import
java.util.List
;
import
java.util.Map
;
import
java.util.Objects
;
@Api
(
description
=
"小睿小程序首页"
)
@RestController
(
"appletHomeFacade"
)
...
...
@@ -541,10 +542,14 @@ public class AppletHomeFacade {
@CookieValue
(
"userInfo"
)
String
userInfo
,
@RequestParam
(
value
=
"bookId"
)
@ApiParam
(
"BookId"
)
Long
bookId
,
@RequestParam
(
value
=
"channelId"
)
@ApiParam
(
"channelId"
)
Long
channelId
,
@RequestParam
(
value
=
"rightsSettingId"
,
required
=
false
)
@ApiParam
(
"rightsSettingId"
)
Lo
ng
rightsSettingId
,
@RequestParam
(
value
=
"rightsSettingId"
,
required
=
false
)
@ApiParam
(
"rightsSettingId"
)
Stri
ng
rightsSettingId
,
@RequestParam
(
value
=
"adviserId"
)
@ApiParam
(
"adviserId"
)
Long
adviserId
){
Long
wechatUserId
=
Cookie
.
getId
(
userInfo
,
Cookie
.
_WECHAT_USER_ID
);
return
new
ResponseDto
<>(
appletUserBookcaseBiz
.
getUserBookInfoByWechatUserId
(
bookId
,
channelId
,
adviserId
,
rightsSettingId
));
Long
rightsSettingId4Num
=
null
;
if
(
NumberUtil
.
isNumber
(
rightsSettingId
))
{
rightsSettingId4Num
=
NumberUtil
.
toLong
(
rightsSettingId
);
}
return
new
ResponseDto
<>(
appletUserBookcaseBiz
.
getUserBookInfoByWechatUserId
(
bookId
,
channelId
,
adviserId
,
rightsSettingId4Num
));
}
@ApiOperation
(
"新增用户资源点击记录"
)
...
...
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