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
539ecffd
Commit
539ecffd
authored
Apr 02, 2022
by
吴博
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'fixbug/fixoff' into 'master'
feat: [1006901-2] 外链优化拓展 See merge request rays/pcloud-book!1544
parents
bbdc0d95
888e63f1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
AppletRecordBizImpl.java
.../com/pcloud/book/applet/biz/impl/AppletRecordBizImpl.java
+2
-2
ResourcePageBizImpl.java
...a/com/pcloud/book/group/biz/impl/ResourcePageBizImpl.java
+2
-2
No files found.
pcloud-service-book/src/main/java/com/pcloud/book/applet/biz/impl/AppletRecordBizImpl.java
View file @
539ecffd
...
@@ -784,7 +784,7 @@ public class AppletRecordBizImpl implements AppletRecordBiz {
...
@@ -784,7 +784,7 @@ public class AppletRecordBizImpl implements AppletRecordBiz {
Map
<
String
,
Boolean
>
bookAuthMap
=
bookAuthServeBiz
.
listIsOpen4ServeIdsAndQrcode
(
sceneId
,
Lists
.
newArrayList
(
appDto
.
getAppId
()));
Map
<
String
,
Boolean
>
bookAuthMap
=
bookAuthServeBiz
.
listIsOpen4ServeIdsAndQrcode
(
sceneId
,
Lists
.
newArrayList
(
appDto
.
getAppId
()));
if
(
CollUtil
.
isEmpty
(
bookAuthMap
)
||
null
==
bookAuthMap
.
get
(
MessageFromTypeEnum
.
APP
.
value
+
appDto
.
getAppId
())
||
false
==
bookAuthMap
.
get
(
MessageFromTypeEnum
.
APP
.
value
+
appDto
.
getAppId
()))
{
if
(
CollUtil
.
isEmpty
(
bookAuthMap
)
||
null
==
bookAuthMap
.
get
(
MessageFromTypeEnum
.
APP
.
value
+
appDto
.
getAppId
())
||
false
==
bookAuthMap
.
get
(
MessageFromTypeEnum
.
APP
.
value
+
appDto
.
getAppId
()))
{
//外链跳转到指定中间页
//外链跳转到指定中间页
String
jumpUrl
=
BookProps
.
getProductDomain
()
+
"transfer?offId"
+
accountSettingDto
.
getAccountSettingId
()
+
"&appId="
+
appDto
.
getAppId
()
+
"&url="
+
String
jumpUrl
=
BookProps
.
getProductDomain
()
+
"transfer?offId
=
"
+
accountSettingDto
.
getAccountSettingId
()
+
"&appId="
+
appDto
.
getAppId
()
+
"&url="
+
URLEncoder
.
encode
(
appDto
.
getTurnUrl
())
+
"&sceneId="
+
sceneId
+
"&wechatUserId="
+
wechatUserId
;
URLEncoder
.
encode
(
appDto
.
getTurnUrl
())
+
"&sceneId="
+
sceneId
+
"&wechatUserId="
+
wechatUserId
;
appletAppOrProductDTO
.
setResultUrl
(
jumpUrl
);
appletAppOrProductDTO
.
setResultUrl
(
jumpUrl
);
}
}
...
@@ -869,7 +869,7 @@ public class AppletRecordBizImpl implements AppletRecordBiz {
...
@@ -869,7 +869,7 @@ public class AppletRecordBizImpl implements AppletRecordBiz {
Map
<
String
,
Boolean
>
bookAuthMap
=
bookAuthServeBiz
.
listIsOpen4ServeIdsAndQrcode
(
sceneId
,
Lists
.
newArrayList
(
productDto
.
getProductId
()));
Map
<
String
,
Boolean
>
bookAuthMap
=
bookAuthServeBiz
.
listIsOpen4ServeIdsAndQrcode
(
sceneId
,
Lists
.
newArrayList
(
productDto
.
getProductId
()));
if
(
CollUtil
.
isEmpty
(
bookAuthMap
)
||
null
==
bookAuthMap
.
get
(
MessageFromTypeEnum
.
PRODUCT
.
value
+
productDto
.
getProductId
())
||
false
==
bookAuthMap
.
get
(
MessageFromTypeEnum
.
PRODUCT
.
value
+
productDto
.
getProductId
()))
{
if
(
CollUtil
.
isEmpty
(
bookAuthMap
)
||
null
==
bookAuthMap
.
get
(
MessageFromTypeEnum
.
PRODUCT
.
value
+
productDto
.
getProductId
())
||
false
==
bookAuthMap
.
get
(
MessageFromTypeEnum
.
PRODUCT
.
value
+
productDto
.
getProductId
()))
{
//外链跳转到指定中间页
//外链跳转到指定中间页
String
jumpUrl
=
BookProps
.
getProductDomain
()
+
"transfer?offId"
+
accountSettingDto
.
getAccountSettingId
()
+
"&url="
+
String
jumpUrl
=
BookProps
.
getProductDomain
()
+
"transfer?offId
=
"
+
accountSettingDto
.
getAccountSettingId
()
+
"&url="
+
URLEncoder
.
encode
(
productDto
.
getSkipUrl
())
+
"&sceneId="
+
sceneId
+
"&wechatUserId="
+
wechatUserId
+
"&productId="
+
productDto
.
getProductId
()
;
URLEncoder
.
encode
(
productDto
.
getSkipUrl
())
+
"&sceneId="
+
sceneId
+
"&wechatUserId="
+
wechatUserId
+
"&productId="
+
productDto
.
getProductId
()
;
appletAppOrProductDTO
.
setResultUrl
(
jumpUrl
);
appletAppOrProductDTO
.
setResultUrl
(
jumpUrl
);
}
}
...
...
pcloud-service-book/src/main/java/com/pcloud/book/group/biz/impl/ResourcePageBizImpl.java
View file @
539ecffd
...
@@ -3992,7 +3992,7 @@ public class ResourcePageBizImpl implements ResourcePageBiz {
...
@@ -3992,7 +3992,7 @@ public class ResourcePageBizImpl implements ResourcePageBiz {
}
else
{
}
else
{
if
(
CollUtil
.
isEmpty
(
finalBookAuthMap
)
||
null
==
finalBookAuthMap
.
get
(
MessageFromTypeEnum
.
APP
.
value
+
appDto
.
getAppId
())
||
false
==
finalBookAuthMap
.
get
(
MessageFromTypeEnum
.
APP
.
value
+
appDto
.
getAppId
()))
{
if
(
CollUtil
.
isEmpty
(
finalBookAuthMap
)
||
null
==
finalBookAuthMap
.
get
(
MessageFromTypeEnum
.
APP
.
value
+
appDto
.
getAppId
())
||
false
==
finalBookAuthMap
.
get
(
MessageFromTypeEnum
.
APP
.
value
+
appDto
.
getAppId
()))
{
//外链跳转到指定中间页
//外链跳转到指定中间页
String
jumpUrl
=
BookProps
.
getProductDomain
()
+
"transfer?offId"
+
officialAccountsId
+
"&appId="
+
appDto
.
getAppId
()
+
"&url="
+
String
jumpUrl
=
BookProps
.
getProductDomain
()
+
"transfer?offId
=
"
+
officialAccountsId
+
"&appId="
+
appDto
.
getAppId
()
+
"&url="
+
URLEncoder
.
encode
(
appDto
.
getTurnUrl
())
+
"&sceneId="
+
byId
.
getSceneId
()
+
"&wechatUserId="
+
wechatUserId
;
URLEncoder
.
encode
(
appDto
.
getTurnUrl
())
+
"&sceneId="
+
byId
.
getSceneId
()
+
"&wechatUserId="
+
wechatUserId
;
e
.
setResultUrl
(
jumpUrl
);
e
.
setResultUrl
(
jumpUrl
);
}
}
...
@@ -4021,7 +4021,7 @@ public class ResourcePageBizImpl implements ResourcePageBiz {
...
@@ -4021,7 +4021,7 @@ public class ResourcePageBizImpl implements ResourcePageBiz {
}
else
if
(
null
!=
wechatUserId
&&
adviserPrice
.
equals
(
0
D
)
){
}
else
if
(
null
!=
wechatUserId
&&
adviserPrice
.
equals
(
0
D
)
){
if
(
CollUtil
.
isEmpty
(
finalBookAuthMap1
)
||
null
==
finalBookAuthMap1
.
get
(
MessageFromTypeEnum
.
PRODUCT
.
value
+
e
.
getServeId
())
||
false
==
finalBookAuthMap1
.
get
(
MessageFromTypeEnum
.
PRODUCT
.
value
+
e
.
getServeId
()))
{
if
(
CollUtil
.
isEmpty
(
finalBookAuthMap1
)
||
null
==
finalBookAuthMap1
.
get
(
MessageFromTypeEnum
.
PRODUCT
.
value
+
e
.
getServeId
())
||
false
==
finalBookAuthMap1
.
get
(
MessageFromTypeEnum
.
PRODUCT
.
value
+
e
.
getServeId
()))
{
//外链跳转到指定中间页
//外链跳转到指定中间页
String
jumpUrl
=
BookProps
.
getProductDomain
()
+
"transfer?offId"
+
officialAccountsId
+
"&"
+
"&url="
+
String
jumpUrl
=
BookProps
.
getProductDomain
()
+
"transfer?offId
=
"
+
officialAccountsId
+
"&"
+
"&url="
+
URLEncoder
.
encode
(
productDto
.
getSkipUrl
())
+
"&sceneId="
+
byId
.
getSceneId
()
+
"&wechatUserId="
+
wechatUserId
+
"&productId="
+
e
.
getServeId
()
;
URLEncoder
.
encode
(
productDto
.
getSkipUrl
())
+
"&sceneId="
+
byId
.
getSceneId
()
+
"&wechatUserId="
+
wechatUserId
+
"&productId="
+
e
.
getServeId
()
;
e
.
setResultUrl
(
jumpUrl
);
e
.
setResultUrl
(
jumpUrl
);
}
}
...
...
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