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
70470420
Commit
70470420
authored
Nov 22, 2021
by
田超
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature/1006102' into 'master'
feat:[1006102]上邮二维码配置权限 See merge request rays/pcloud-book!1461
parents
edc45256
450f60f6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletions
+10
-1
ResourcePageBizImpl.java
...a/com/pcloud/book/group/biz/impl/ResourcePageBizImpl.java
+10
-1
No files found.
pcloud-service-book/src/main/java/com/pcloud/book/group/biz/impl/ResourcePageBizImpl.java
View file @
70470420
...
@@ -280,7 +280,16 @@ public class ResourcePageBizImpl implements ResourcePageBiz {
...
@@ -280,7 +280,16 @@ public class ResourcePageBizImpl implements ResourcePageBiz {
}
}
//上邮临时处理方案
//上邮临时处理方案
if
(
null
!=
bySceneId
&&
null
!=
bySceneId
.
getBookId
()
&&
null
!=
JedisClusterUtils
.
hget
(
nftReleaseLockKey
,
bySceneId
.
getBookId
().
toString
()))
{
if
(
null
!=
bySceneId
&&
null
!=
bySceneId
.
getBookId
()
&&
null
!=
JedisClusterUtils
.
hget
(
nftReleaseLockKey
,
bySceneId
.
getBookId
().
toString
()))
{
throw
new
BizException
(
BizException
.
PARAM_IS_NULL
.
getCode
(),
"此二维码需统一配置资源, 请勿单独配置"
);
NftBookState
nftBookState
=
JedisClusterUtils
.
hgetJson2Class
(
nftReleaseLockKey
,
bySceneId
.
getBookId
().
toString
(),
NftBookState
.
class
);
if
(
null
!=
updateResourcePageVO
.
getBookGroupId
())
{
if
(
null
!=
nftBookState
.
getNftBookGroupId
()
&&
!
nftBookState
.
getNftBookGroupId
().
equals
(
updateResourcePageVO
.
getBookGroupId
()))
{
throw
new
BizException
(
BizException
.
PARAM_IS_NULL
.
getCode
(),
"此二维码需统一配置资源, 请勿单独配置"
);
}
}
else
if
(
null
!=
updateResourcePageVO
.
getSceneId
())
{
if
(
null
!=
nftBookState
.
getNftSceneId
()
&&
!
nftBookState
.
getNftSceneId
().
equals
(
updateResourcePageVO
.
getSceneId
()))
{
throw
new
BizException
(
BizException
.
PARAM_IS_NULL
.
getCode
(),
"此二维码需统一配置资源, 请勿单独配置"
);
}
}
}
}
if
(
null
!=
updateResourcePageVO
.
getBookGroupId
())
{
if
(
null
!=
updateResourcePageVO
.
getBookGroupId
())
{
return
this
.
updatePageByBookGroupId
(
updateResourcePageVO
);
return
this
.
updatePageByBookGroupId
(
updateResourcePageVO
);
...
...
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