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
06ddc332
Commit
06ddc332
authored
Oct 29, 2020
by
朱亚洁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:[1003798]小程序流程优化-跳转小程序不过首页闪屏
parent
c951b65f
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
49 additions
and
0 deletions
+49
-0
BookGroupBiz.java
...src/main/java/com/pcloud/book/group/biz/BookGroupBiz.java
+8
-0
BookGroupBizImpl.java
...java/com/pcloud/book/group/biz/impl/BookGroupBizImpl.java
+24
-0
BookGroupFacade.java
...in/java/com/pcloud/book/group/facade/BookGroupFacade.java
+6
-0
BookGroupFacadeImpl.java
...om/pcloud/book/group/facade/impl/BookGroupFacadeImpl.java
+11
-0
No files found.
pcloud-service-book/src/main/java/com/pcloud/book/group/biz/BookGroupBiz.java
View file @
06ddc332
...
@@ -981,4 +981,12 @@ public interface BookGroupBiz {
...
@@ -981,4 +981,12 @@ public interface BookGroupBiz {
* * @param null
* * @param null
*/
*/
Boolean
checkRayUrl
(
String
url
);
Boolean
checkRayUrl
(
String
url
);
/**
* 根据sceneId或bookGroupId查书刊信息
* @author:zhuyajie
* @date:2020/10/29 19:39
* * @param null
*/
Map
<
String
,
Object
>
getBookBase4Applet
(
Long
sceneId
,
Long
bookGroupId
);
}
}
pcloud-service-book/src/main/java/com/pcloud/book/group/biz/impl/BookGroupBizImpl.java
View file @
06ddc332
...
@@ -5895,4 +5895,28 @@ public class BookGroupBizImpl implements BookGroupBiz {
...
@@ -5895,4 +5895,28 @@ public class BookGroupBizImpl implements BookGroupBiz {
}
}
return
false
;
return
false
;
}
}
@Override
public
Map
<
String
,
Object
>
getBookBase4Applet
(
Long
sceneId
,
Long
bookGroupId
)
{
Long
bookId
=
0L
;
Long
channelId
=
0L
;
Long
adviserId
=
0L
;
if
(
null
!=
bookGroupId
)
{
BookGroupDTO
bookGroupDTO
=
bookGroupDao
.
getDTOById
(
bookGroupId
);
if
(
null
!=
bookGroupDTO
)
{
bookId
=
bookGroupDTO
.
getBookId
();
channelId
=
bookGroupDTO
.
getChannelId
();
adviserId
=
bookGroupDTO
.
getCreateUser
();
}
}
else
{
QrcodeSceneDto
qrcodeSceneDto
=
qrcodeSceneConsr
.
getById
(
sceneId
);
if
(
null
!=
qrcodeSceneDto
)
{
bookId
=
qrcodeSceneDto
.
getAdviserBookId
();
channelId
=
qrcodeSceneDto
.
getChannelPartyId
();
adviserId
=
qrcodeSceneDto
.
getCreatedByUserLogin
();
}
}
Map
<
String
,
Object
>
map
=
this
.
getBookBaseInfo4Applet
(
adviserId
,
channelId
,
bookId
);
return
map
;
}
}
}
pcloud-service-book/src/main/java/com/pcloud/book/group/facade/BookGroupFacade.java
View file @
06ddc332
...
@@ -795,4 +795,10 @@ public interface BookGroupFacade {
...
@@ -795,4 +795,10 @@ public interface BookGroupFacade {
@RequestMapping
(
value
=
"getBookGroupsByBookIds"
,
method
=
RequestMethod
.
POST
)
@RequestMapping
(
value
=
"getBookGroupsByBookIds"
,
method
=
RequestMethod
.
POST
)
ResponseDto
<?>
getBookGroupsByBookIds
(
@RequestBody
MapResourceTotalCountDTO
requestDTO
)
ResponseDto
<?>
getBookGroupsByBookIds
(
@RequestBody
MapResourceTotalCountDTO
requestDTO
)
throws
BizException
,
PermissionException
;
throws
BizException
,
PermissionException
;
@ApiOperation
(
"根据sceneId或bookGroupId查书刊信息"
)
@GetMapping
(
"getBookBase4Applet"
)
ResponseDto
<?>
getBookBase4Applet
(
@RequestParam
(
value
=
"sceneId"
,
required
=
false
)
Long
sceneId
,
@RequestParam
(
value
=
"bookGroupId"
,
required
=
false
)
Long
bookGroupId
);
}
}
pcloud-service-book/src/main/java/com/pcloud/book/group/facade/impl/BookGroupFacadeImpl.java
View file @
06ddc332
...
@@ -1305,4 +1305,15 @@ public class BookGroupFacadeImpl implements BookGroupFacade {
...
@@ -1305,4 +1305,15 @@ public class BookGroupFacadeImpl implements BookGroupFacade {
}
}
return
new
ResponseDto
<>(
bookGroupBiz
.
getBookGroupsByBookIds
(
requestDTO
.
getBookIds
(),
requestDTO
.
getAdviserIds
(),
requestDTO
.
getChannelIds
()));
return
new
ResponseDto
<>(
bookGroupBiz
.
getBookGroupsByBookIds
(
requestDTO
.
getBookIds
(),
requestDTO
.
getAdviserIds
(),
requestDTO
.
getChannelIds
()));
}
}
@Override
@GetMapping
(
"getBookBase4Applet"
)
public
ResponseDto
<?>
getBookBase4Applet
(
@RequestParam
(
value
=
"sceneId"
,
required
=
false
)
Long
sceneId
,
@RequestParam
(
value
=
"bookGroupId"
,
required
=
false
)
Long
bookGroupId
)
{
if
(
null
==
sceneId
&&
null
==
bookGroupId
)
{
throw
new
BookBizException
(
BookBizException
.
PARAM_IS_ERROR
,
"参数缺失!"
);
}
return
new
ResponseDto
<>(
bookGroupBiz
.
getBookBase4Applet
(
sceneId
,
bookGroupId
));
}
}
}
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