Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
cloud-web
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hqzhdj
cloud-web
Commits
cf47874a
Commit
cf47874a
authored
Oct 14, 2025
by
“Kongxiangkun”
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加积分商城相关代码
parent
fce9933f
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
17 deletions
+3
-17
cloud-web-manage/src/main/java/com/yizhi/application/point/controller/PointProductController.java
+1
-8
cloud-web-manage/src/main/java/com/yizhi/application/point/controller/PointUserController.java
+2
-9
No files found.
cloud-web-manage/src/main/java/com/yizhi/application/point/controller/PointProductController.java
View file @
cf47874a
...
...
@@ -138,14 +138,7 @@ public class PointProductController {
@ApiOperation
(
value
=
"积分商品、分页列表"
,
notes
=
"积分商品、分页列表"
,
response
=
PointProductVo
.
class
)
@GetMapping
(
"/list"
)
//public Response<Page<PointProductVo>> productList(@RequestBody PointSearchParamVO searchParamVO){
public
Response
<
Page
<
PointProductVo
>>
productList
(
@RequestParam
(
value
=
"pageNo"
,
required
=
false
)
int
pageNo
,
@RequestParam
(
value
=
"pageSize"
,
required
=
false
)
int
pageSize
,
@RequestParam
(
value
=
"name"
,
required
=
false
)
String
name
){
PointSearchParamVO
searchParamVO
=
new
PointSearchParamVO
();
searchParamVO
.
setName
(
name
);
searchParamVO
.
setPageNo
(
pageNo
);
searchParamVO
.
setPageSize
(
pageSize
);
public
Response
<
Page
<
PointProductVo
>>
productList
(
@RequestBody
PointSearchParamVO
searchParamVO
){
try
{
return
Response
.
ok
(
pointProductFeignClients
.
productList
(
searchParamVO
));
}
catch
(
Exception
e
)
{
...
...
cloud-web-manage/src/main/java/com/yizhi/application/point/controller/PointUserController.java
View file @
cf47874a
...
...
@@ -167,14 +167,7 @@ public class PointUserController {
@ApiOperation
(
value
=
"用户的积分分页列表"
,
notes
=
"用户的积分分页列表"
,
response
=
PointProductVo
.
class
)
@GetMapping
(
"/list"
)
//public Response<Page<PointUserPageListVO>> list(@RequestBody PointSearchParamVO searchParamVO){
public
Response
<
Page
<
PointUserPageListVO
>>
list
(
@RequestParam
(
value
=
"pageNo"
,
required
=
false
)
int
pageNo
,
@RequestParam
(
value
=
"pageSize"
,
required
=
false
)
int
pageSize
,
@RequestParam
(
value
=
"name"
,
required
=
false
)
String
name
){
PointSearchParamVO
searchParamVO
=
new
PointSearchParamVO
();
searchParamVO
.
setName
(
name
);
searchParamVO
.
setPageNo
(
pageNo
);
searchParamVO
.
setPageSize
(
pageSize
);
public
Response
<
Page
<
PointUserPageListVO
>>
list
(
@RequestBody
PointSearchParamVO
searchParamVO
){
try
{
return
Response
.
ok
(
pointUserClients
.
list
(
searchParamVO
));
}
catch
(
Exception
e
)
{
...
...
@@ -183,7 +176,7 @@ public class PointUserController {
}
}
@ApiOperation
(
value
=
"用户积分兑换"
,
notes
=
"用户积分兑换"
,
response
=
PointProductVo
.
class
)
@ApiOperation
(
value
=
"用户积分兑换"
,
notes
=
"用户积分兑换"
)
@PostMapping
(
"/exchange"
)
public
Response
<
Object
>
exchange
(
@RequestBody
PointUserExchangeVO
pointUserExchangeVO
){
if
(
pointUserExchangeVO
.
getPoint
()
<=
0
)
{
...
...
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