Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cloud-platform
Project
Project
Details
Activity
Releases
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
youjj
cloud-platform
Commits
f0ee96fc
Commit
f0ee96fc
authored
Oct 13, 2020
by
周健威
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
车辆相关和优惠券相关
parent
46775ece
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
1 deletion
+13
-1
CouponAdminController.java
...c/platform/activity/rest/admin/CouponAdminController.java
+13
-1
No files found.
xx-activity/xx-activity-server/src/main/java/com/xxfc/platform/activity/rest/admin/CouponAdminController.java
View file @
f0ee96fc
...
@@ -40,8 +40,9 @@ public class CouponAdminController implements UserRestInterface {
...
@@ -40,8 +40,9 @@ public class CouponAdminController implements UserRestInterface {
return
userFeign
;
return
userFeign
;
}
}
@ApiOperation
(
"优惠券列表"
)
@ApiOperation
(
"优惠券列表"
)
@GetMapping
(
"/
operate/
page"
)
@GetMapping
(
"/page"
)
public
ObjectRestResponse
<
PageDataVO
<
CouponPagVo
>>
listCouponWithPage
(
CouponFindDTO
couponFindDTO
)
{
public
ObjectRestResponse
<
PageDataVO
<
CouponPagVo
>>
listCouponWithPage
(
CouponFindDTO
couponFindDTO
)
{
DataInterBean
dataInterBean
=
getDataInter
();
DataInterBean
dataInterBean
=
getDataInter
();
couponFindDTO
.
setBizType
(
dataInterBean
.
getBizType
());
couponFindDTO
.
setBizType
(
dataInterBean
.
getBizType
());
...
@@ -51,6 +52,17 @@ public class CouponAdminController implements UserRestInterface {
...
@@ -51,6 +52,17 @@ public class CouponAdminController implements UserRestInterface {
return
ObjectRestResponse
.
succ
(
couponPage
);
return
ObjectRestResponse
.
succ
(
couponPage
);
}
}
// @ApiOperation("优惠券列表")
// @GetMapping("/operate/page")
// public ObjectRestResponse<PageDataVO<CouponPagVo>> listCouponWithPage(CouponFindDTO couponFindDTO) {
// DataInterBean dataInterBean = getDataInter();
// couponFindDTO.setBizType(dataInterBean.getBizType());
// couponFindDTO.setCompanyIds(dataInterBean.getDataCompanyIds());
// //设置参数过滤
// PageDataVO<CouponPagVo> couponPage = couponBiz.listCouponWithPage(couponFindDTO);
// return ObjectRestResponse.succ(couponPage);
// }
@ApiOperation
(
"查询优惠券详情"
)
@ApiOperation
(
"查询优惠券详情"
)
@GetMapping
(
"/{id}"
)
@GetMapping
(
"/{id}"
)
public
ObjectRestResponse
<
CouponVo
>
findCouponById
(
@PathVariable
(
value
=
"id"
)
Integer
id
){
public
ObjectRestResponse
<
CouponVo
>
findCouponById
(
@PathVariable
(
value
=
"id"
)
Integer
id
){
...
...
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