Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-manage3.0
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
haoban3.0
haoban-manage3.0
Commits
21d7e160
Commit
21d7e160
authored
Sep 04, 2024
by
erqian
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature/1061371-Interactive-gatherings' into developer
parents
de553126
7a22d9f2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
4 deletions
+14
-4
GatheringActivityController.java
...e/web/controller/content/GatheringActivityController.java
+14
-4
No files found.
haoban-manage3-wx/src/main/java/com/gic/haoban/manage/web/controller/content/GatheringActivityController.java
View file @
21d7e160
...
@@ -29,19 +29,28 @@ import java.util.stream.Collectors;
...
@@ -29,19 +29,28 @@ import java.util.stream.Collectors;
public
class
GatheringActivityController
{
public
class
GatheringActivityController
{
@Autowired
@Autowired
private
GatheringActivityApiService
activityApiService
;
private
GatheringActivityApiService
activityApiService
;
@Autowired
@Autowired
private
GatheringActivityWxApiService
activityWxApiService
;
private
GatheringActivityWxApiService
activityWxApiService
;
/**
/**
* 根据会员查询活动信息
* 根据会员查询活动信息
*
* @param memberId
* @param memberId
* @param pageQo
* @return
* @return
*/
*/
@RequestMapping
(
"/activity-by-member"
)
@RequestMapping
(
"/activity-by-member"
)
public
RestResponse
<
Page
<
GatheringActivityMemberIdActivityRecordDTO
>>
getActivityRecordByMemberId
(
@RequestParam
String
memberId
,
@RequestParam
PageQo
pageQo
)
{
public
RestResponse
<
Page
<
GatheringActivityMemberIdActivityRecordDTO
>>
getActivityRecordByMemberId
(
@RequestParam
String
memberId
,
@RequestParam
(
required
=
false
)
Integer
pageSize
,
@RequestParam
(
required
=
false
)
Integer
pageNum
)
{
PageQo
pageQo
=
new
PageQo
();
if
(
pageSize
!=
null
)
{
pageQo
.
setPageSize
(
pageSize
);
}
if
(
pageNum
!=
null
)
{
pageQo
.
setPageNum
(
pageNum
);
}
ServiceResponse
<
PageResult
<
GatheringActivityMemberIdActivityRecordDTO
>>
serviceResponse
=
activityApiService
.
getActivityRecordByMemberId
(
memberId
,
pageQo
);
ServiceResponse
<
PageResult
<
GatheringActivityMemberIdActivityRecordDTO
>>
serviceResponse
=
activityApiService
.
getActivityRecordByMemberId
(
memberId
,
pageQo
);
if
(!
serviceResponse
.
isSuccess
())
{
if
(!
serviceResponse
.
isSuccess
())
{
return
RestResponse
.
failure
(
serviceResponse
.
getCode
(),
serviceResponse
.
getMessage
());
return
RestResponse
.
failure
(
serviceResponse
.
getCode
(),
serviceResponse
.
getMessage
());
...
@@ -51,6 +60,7 @@ public class GatheringActivityController {
...
@@ -51,6 +60,7 @@ public class GatheringActivityController {
/**
/**
* 活动详情
* 活动详情
*
* @param activityId
* @param activityId
* @param memberId
* @param memberId
* @param enterpriseId
* @param enterpriseId
...
...
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