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
9b8c09d7
Commit
9b8c09d7
authored
Mar 17, 2022
by
吴博
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug: [1006828] 修复接口变更的跳转问题
parent
8593bcf1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
4 deletions
+14
-4
ResourcePageBiz.java
.../main/java/com/pcloud/book/group/biz/ResourcePageBiz.java
+2
-1
ResourcePageBizImpl.java
...a/com/pcloud/book/group/biz/impl/ResourcePageBizImpl.java
+9
-2
ResourcePageFacade.java
...com/pcloud/book/group/facade/impl/ResourcePageFacade.java
+3
-1
No files found.
pcloud-service-book/src/main/java/com/pcloud/book/group/biz/ResourcePageBiz.java
View file @
9b8c09d7
...
...
@@ -539,7 +539,8 @@ public interface ResourcePageBiz {
List
<
Integer
>
getColumnTypeByPageId4Wechat
(
Long
resourcePageId
,
Long
wechatUserId
,
Long
bookId
,
Long
adviserId
,
Long
channelId
,
Integer
enableAdverting
,
Long
navigationId
);
//优化 此处把模块分开调接口 columnType
List
<
ResourceColumnAndServeVO
>
getColumnAndServeListByPageId4WechatV2
(
Long
resourcePageId
,
Long
wechatUserId
,
Long
bookId
,
Long
adviserId
,
Long
channelId
,
Integer
enableAdverting
,
Long
navigationId
,
Integer
columnType
);
List
<
ResourceColumnAndServeVO
>
getColumnAndServeListByPageId4WechatV2
(
Long
resourcePageId
,
Long
wechatUserId
,
Long
bookId
,
Long
adviserId
,
Long
channelId
,
Integer
enableAdverting
,
Long
navigationId
,
Integer
columnType
,
Long
officialAccountsId
);
/**
* 保存分享配置
...
...
pcloud-service-book/src/main/java/com/pcloud/book/group/biz/impl/ResourcePageBizImpl.java
View file @
9b8c09d7
...
...
@@ -3692,7 +3692,11 @@ public class ResourcePageBizImpl implements ResourcePageBiz {
}
fillSelfPic
(
resourcePageItemVOList
);
//填充跳转地址
fillJumpUrl
(
resourcePageItemVOList
,
wechatUserId
,
resourcePageId
,
officialAccountsId
);
try
{
fillJumpUrl
(
resourcePageItemVOList
,
wechatUserId
,
resourcePageId
,
officialAccountsId
);
}
catch
(
Exception
e
)
{
log
.
error
(
"book.fillJumpUrl失败"
);
}
return
resourceColumnAndServeVOS
;
}
...
...
@@ -3741,7 +3745,8 @@ public class ResourcePageBizImpl implements ResourcePageBiz {
//优化 此处把模块分开调接口 通过columnType
@Override
public
List
<
ResourceColumnAndServeVO
>
getColumnAndServeListByPageId4WechatV2
(
Long
resourcePageId
,
Long
wechatUserId
,
Long
bookId
,
Long
adviserId
,
Long
channelId
,
Integer
enableAdverting
,
Long
navigationId
,
Integer
columnType
)
{
public
List
<
ResourceColumnAndServeVO
>
getColumnAndServeListByPageId4WechatV2
(
Long
resourcePageId
,
Long
wechatUserId
,
Long
bookId
,
Long
adviserId
,
Long
channelId
,
Integer
enableAdverting
,
Long
navigationId
,
Integer
columnType
,
Long
officialAccountsId
)
{
List
<
ResourceColumnAndServeVO
>
serveVOS
=
new
ArrayList
<>();
if
(
null
!=
columnType
&&
columnType
!=
0
)
{
serveVOS
=
resourcePageColumnDao
.
getColumnListByPageId
(
resourcePageId
,
navigationId
,
columnType
);
...
...
@@ -3818,6 +3823,8 @@ public class ResourcePageBizImpl implements ResourcePageBiz {
return
new
ArrayList
<>();
}
fillSelfPic
(
resourcePageItemVOList
);
//填充跳转地址
fillJumpUrl
(
resourcePageItemVOList
,
wechatUserId
,
resourcePageId
,
officialAccountsId
);
return
serveVOS
;
}
...
...
pcloud-service-book/src/main/java/com/pcloud/book/group/facade/impl/ResourcePageFacade.java
View file @
9b8c09d7
...
...
@@ -139,7 +139,9 @@ public class ResourcePageFacade {
@RequestParam
(
value
=
"navigationId"
,
required
=
false
)
Long
navigationId
,
@RequestParam
(
value
=
"columnType"
,
required
=
false
)
Integer
columnType
){
Long
wechatUserId
=
Cookie
.
getId
(
userInfo
,
Cookie
.
_WECHAT_USER_ID
);
return
new
ResponseDto
<>(
resourcePageBiz
.
getColumnAndServeListByPageId4WechatV2
(
resourcePageId
,
wechatUserId
,
bookId
,
adviserId
,
channelId
,
enableAdverting
,
navigationId
,
columnType
));
Long
officialAccountsId
=
Cookie
.
getId
(
userInfo
,
Cookie
.
_OFFICIAL_ACCOUNTS_ID
);
return
new
ResponseDto
<>(
resourcePageBiz
.
getColumnAndServeListByPageId4WechatV2
(
resourcePageId
,
wechatUserId
,
bookId
,
adviserId
,
channelId
,
enableAdverting
,
navigationId
,
columnType
,
officialAccountsId
));
}
@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