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
6fdaf590
Commit
6fdaf590
authored
Aug 03, 2020
by
田超
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'fixbug/fixApp' into 'master'
bug: [none] fixApp 小程序中不展示审核中应用 See merge request rays/pcloud-book!859
parents
1350420a
cb51587e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
23 additions
and
2 deletions
+23
-2
AppConsr.java
.../src/main/java/com/pcloud/book/consumer/app/AppConsr.java
+19
-0
GroupQrcodeBizImpl.java
...va/com/pcloud/book/group/biz/impl/GroupQrcodeBizImpl.java
+1
-1
RightsSettingBizImpl.java
...oud/book/rightsSetting/biz/impl/RightsSettingBizImpl.java
+3
-1
No files found.
pcloud-service-book/src/main/java/com/pcloud/book/consumer/app/AppConsr.java
View file @
6fdaf590
...
@@ -193,4 +193,23 @@ public class AppConsr {
...
@@ -193,4 +193,23 @@ public class AppConsr {
}
}
return
appPrices
;
return
appPrices
;
}
}
public
Map
<
Long
,
AppDto
>
mapByIds4AuditPass
(
List
<
Long
>
appIds
)
{
LOGGER
.
info
(
"获取应用基本信息过滤掉从来没有审核通过的[appService.mapByIds],参数列表[appIds]:"
+
appIds
);
Map
<
Long
,
AppDto
>
appDtos
=
new
HashMap
<>();
if
(
ListUtils
.
isEmpty
(
appIds
))
{
return
appDtos
;
}
try
{
ResponseEntity
<
ResponseDto
<
Map
<
Long
,
AppDto
>>>
appDtosEntity
=
appService
.
mapByIds4AuditPass
(
appIds
);
appDtos
=
ResponseHandleUtil
.
parseMapResponse
(
appDtosEntity
,
Long
.
class
,
AppDto
.
class
);
}
catch
(
BizException
e
)
{
LOGGER
.
warn
(
"获取应用基本信息[appService.mapByIds4AuditPass]:"
+
e
.
getMessage
(),
e
);
throw
new
BizException
(
e
.
getCode
(),
e
.
getMessage
());
}
catch
(
Exception
e
)
{
LOGGER
.
error
(
"获取应用基本信息[appService.mapByIds4AuditPass]:"
+
e
.
getMessage
(),
e
);
throw
new
BookBizException
(
BookBizException
.
INVOKE_USER_ERROR
,
"mapByIds4AuditPass获取应用基本信息失败~!"
);
}
return
appDtos
;
}
}
}
pcloud-service-book/src/main/java/com/pcloud/book/group/biz/impl/GroupQrcodeBizImpl.java
View file @
6fdaf590
...
@@ -991,7 +991,7 @@ public class GroupQrcodeBizImpl implements GroupQrcodeBiz {
...
@@ -991,7 +991,7 @@ public class GroupQrcodeBizImpl implements GroupQrcodeBiz {
public
ClassifyQrcodeVO
getGroupQrcodeInfo
(
String
groupQrCode
,
Long
classifyId
)
{
public
ClassifyQrcodeVO
getGroupQrcodeInfo
(
String
groupQrCode
,
Long
classifyId
)
{
List
<
ClassifyQrcodeVO
>
qrcodeVOS
=
groupQrcodeDao
.
getQrcodeByClassifyId
(
classifyId
);
List
<
ClassifyQrcodeVO
>
qrcodeVOS
=
groupQrcodeDao
.
getQrcodeByClassifyId
(
classifyId
);
if
(
ListUtils
.
isEmpty
(
qrcodeVOS
)){
if
(
ListUtils
.
isEmpty
(
qrcodeVOS
)){
return
n
ull
;
return
n
ew
ClassifyQrcodeVO
()
;
}
}
for
(
ClassifyQrcodeVO
qrcodeVO
:
qrcodeVOS
)
{
for
(
ClassifyQrcodeVO
qrcodeVO
:
qrcodeVOS
)
{
...
...
pcloud-service-book/src/main/java/com/pcloud/book/rightsSetting/biz/impl/RightsSettingBizImpl.java
View file @
6fdaf590
...
@@ -1317,7 +1317,7 @@ public class RightsSettingBizImpl implements RightsSettingBiz {
...
@@ -1317,7 +1317,7 @@ public class RightsSettingBizImpl implements RightsSettingBiz {
productDtoMap
=
productConsr
.
getProBasesByIds
(
productIds
);
productDtoMap
=
productConsr
.
getProBasesByIds
(
productIds
);
}
}
if
(!
ListUtils
.
isEmpty
(
appIds
))
{
if
(!
ListUtils
.
isEmpty
(
appIds
))
{
appDtoMap
=
appConsr
.
mapByIds
(
appIds
);
appDtoMap
=
appConsr
.
mapByIds
4AuditPass
(
appIds
);
}
}
if
(!
ListUtils
.
isEmpty
(
groupIds
))
{
if
(!
ListUtils
.
isEmpty
(
groupIds
))
{
groupDtoMap
=
pcloudGroupActivityBiz
.
getByIds4Now
(
groupIds
);
groupDtoMap
=
pcloudGroupActivityBiz
.
getByIds4Now
(
groupIds
);
...
@@ -1376,6 +1376,8 @@ public class RightsSettingBizImpl implements RightsSettingBiz {
...
@@ -1376,6 +1376,8 @@ 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
);
}
else
{
list_remove
.
add
(
item
);
//把要移除的统一放在一个集合
}
}
}
}
if
(
RightsServeTypeEnum
.
GROUP
.
name
().
equals
(
item
.
getServeType
()))
{
if
(
RightsServeTypeEnum
.
GROUP
.
name
().
equals
(
item
.
getServeType
()))
{
...
...
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