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
7e61e695
Commit
7e61e695
authored
Sep 15, 2020
by
zhuyajie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:[1003491]应用作品第三方链接进客服
parent
675f8929
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
1 deletions
+13
-1
RightsSettingBizImpl.java
...oud/book/rightsSetting/biz/impl/RightsSettingBizImpl.java
+10
-0
RightsSettingConstant.java
...d/book/rightsSetting/constants/RightsSettingConstant.java
+1
-1
RightsNowItem.java
...a/com/pcloud/book/rightsSetting/entity/RightsNowItem.java
+2
-0
No files found.
pcloud-service-book/src/main/java/com/pcloud/book/rightsSetting/biz/impl/RightsSettingBizImpl.java
View file @
7e61e695
...
@@ -1466,6 +1466,11 @@ public class RightsSettingBizImpl implements RightsSettingBiz {
...
@@ -1466,6 +1466,11 @@ public class RightsSettingBizImpl implements RightsSettingBiz {
}
else
{
}
else
{
item
.
setResultUrl
(
item
.
getLinkUrl
());
item
.
setResultUrl
(
item
.
getLinkUrl
());
}
}
if
(!
StringUtil
.
isEmpty
(
productDto
.
getSkipUrl
())){
item
.
setHasThirdLink
(
true
);
}
else
{
item
.
setHasThirdLink
(
false
);
}
}
}
}
}
if
(
AppAndProductTypeEnum
.
APP
.
value
.
equals
(
item
.
getServeType
()))
{
if
(
AppAndProductTypeEnum
.
APP
.
value
.
equals
(
item
.
getServeType
()))
{
...
@@ -1481,6 +1486,11 @@ public class RightsSettingBizImpl implements RightsSettingBiz {
...
@@ -1481,6 +1486,11 @@ public class RightsSettingBizImpl implements RightsSettingBiz {
accountSettingDto
=
qrcodeSceneConsr
.
getWechatInfo
(
appDto
.
getChannelId
());
accountSettingDto
=
qrcodeSceneConsr
.
getWechatInfo
(
appDto
.
getChannelId
());
String
resultLinkUrl
=
SendWeixinRequestTools
.
splitUrl
(
accountSettingDto
,
item
.
getLinkUrl
());
String
resultLinkUrl
=
SendWeixinRequestTools
.
splitUrl
(
accountSettingDto
,
item
.
getLinkUrl
());
item
.
setResultUrl
(
resultLinkUrl
);
item
.
setResultUrl
(
resultLinkUrl
);
if
(!
StringUtil
.
isEmpty
(
appDto
.
getTurnUrl
())){
item
.
setHasThirdLink
(
true
);
}
else
{
item
.
setHasThirdLink
(
false
);
}
}
else
{
}
else
{
list_remove
.
add
(
item
);
//把要移除的统一放在一个集合
list_remove
.
add
(
item
);
//把要移除的统一放在一个集合
}
}
...
...
pcloud-service-book/src/main/java/com/pcloud/book/rightsSetting/constants/RightsSettingConstant.java
View file @
7e61e695
...
@@ -36,7 +36,7 @@ public class RightsSettingConstant {
...
@@ -36,7 +36,7 @@ public class RightsSettingConstant {
*/
*/
public
static
final
String
[]
APPLET_PRODUCT_NOT_SUPPORT
=
{
ProductTypeConstant
.
QA
,
ProductTypeConstant
.
TOOL
,
public
static
final
String
[]
APPLET_PRODUCT_NOT_SUPPORT
=
{
ProductTypeConstant
.
QA
,
ProductTypeConstant
.
TOOL
,
ProductTypeConstant
.
TUTORIAL
,
ProductTypeConstant
.
ATTENDANCE_TASK
,
ProductTypeConstant
.
MEMBER
,
ProductTypeConstant
.
TUTORIAL
,
ProductTypeConstant
.
ATTENDANCE_TASK
,
ProductTypeConstant
.
MEMBER
,
ProductTypeConstant
.
THIRDPARTY
,
ProductTypeConstant
.
LINK
};
ProductTypeConstant
.
THIRDPARTY
};
public
static
final
Integer
MAX_ITEM_COUNT
=
3
;
public
static
final
Integer
MAX_ITEM_COUNT
=
3
;
}
}
pcloud-service-book/src/main/java/com/pcloud/book/rightsSetting/entity/RightsNowItem.java
View file @
7e61e695
...
@@ -113,4 +113,6 @@ public class RightsNowItem extends BaseEntity {
...
@@ -113,4 +113,6 @@ public class RightsNowItem extends BaseEntity {
private
String
showUrl
;
private
String
showUrl
;
@ApiModelProperty
(
"是否收藏"
)
@ApiModelProperty
(
"是否收藏"
)
private
Integer
isCollect
;
private
Integer
isCollect
;
@ApiModelProperty
(
"商品应用中有第三方链接"
)
private
Boolean
hasThirdLink
;
}
}
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