Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gxpt_ht
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
pseer
gxpt_ht
Commits
38ecad71
Commit
38ecad71
authored
Jun 24, 2024
by
吕明尚
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改权限标识
parent
90130667
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
54 additions
and
54 deletions
+54
-54
BalanceLogController.java
...ava/share/web/controller/system/BalanceLogController.java
+6
-6
DurationLogController.java
...va/share/web/controller/system/DurationLogController.java
+6
-6
EquityMembersOrderConfigController.java
...controller/system/EquityMembersOrderConfigController.java
+6
-6
EquityMembersOrderController.java
...e/web/controller/system/EquityMembersOrderController.java
+6
-6
IntegralLogController.java
...va/share/web/controller/system/IntegralLogController.java
+6
-6
MemberConfigController.java
...a/share/web/controller/system/MemberConfigController.java
+6
-6
RechargeConfController.java
...a/share/web/controller/system/RechargeConfController.java
+6
-6
RechargeCouponConfController.java
...e/web/controller/system/RechargeCouponConfController.java
+6
-6
RechargeRefundController.java
...share/web/controller/system/RechargeRefundController.java
+6
-6
No files found.
share-admin/src/main/java/share/web/controller/system/BalanceLogController.java
View file @
38ecad71
...
...
@@ -30,7 +30,7 @@ public class BalanceLogController extends BaseController {
/**
* 查询余额日志列表
*/
@PreAuthorize
(
"@ss.hasPermi('system:
l
og:list')"
)
@PreAuthorize
(
"@ss.hasPermi('system:
balanceL
og:list')"
)
@GetMapping
(
"/list"
)
public
TableDataInfo
list
(
BalanceLog
balanceLog
)
{
startPage
();
...
...
@@ -41,7 +41,7 @@ public class BalanceLogController extends BaseController {
/**
* 导出余额日志列表
*/
@PreAuthorize
(
"@ss.hasPermi('system:
l
og:export')"
)
@PreAuthorize
(
"@ss.hasPermi('system:
balanceL
og:export')"
)
@Log
(
title
=
"余额日志"
,
businessType
=
BusinessType
.
EXPORT
)
@PostMapping
(
"/export"
)
public
void
export
(
HttpServletResponse
response
,
BalanceLog
balanceLog
)
{
...
...
@@ -53,7 +53,7 @@ public class BalanceLogController extends BaseController {
/**
* 获取余额日志详细信息
*/
@PreAuthorize
(
"@ss.hasPermi('system:
l
og:query')"
)
@PreAuthorize
(
"@ss.hasPermi('system:
balanceL
og:query')"
)
@GetMapping
(
value
=
"/{id}"
)
public
AjaxResult
getInfo
(
@PathVariable
(
"id"
)
Long
id
)
{
return
success
(
balanceLogService
.
selectBalanceLogById
(
id
));
...
...
@@ -62,7 +62,7 @@ public class BalanceLogController extends BaseController {
/**
* 新增余额日志
*/
@PreAuthorize
(
"@ss.hasPermi('system:
l
og:add')"
)
@PreAuthorize
(
"@ss.hasPermi('system:
balanceL
og:add')"
)
@Log
(
title
=
"余额日志"
,
businessType
=
BusinessType
.
INSERT
)
@PostMapping
public
AjaxResult
add
(
@RequestBody
BalanceLog
balanceLog
)
{
...
...
@@ -72,7 +72,7 @@ public class BalanceLogController extends BaseController {
/**
* 修改余额日志
*/
@PreAuthorize
(
"@ss.hasPermi('system:
l
og:edit')"
)
@PreAuthorize
(
"@ss.hasPermi('system:
balanceL
og:edit')"
)
@Log
(
title
=
"余额日志"
,
businessType
=
BusinessType
.
UPDATE
)
@PutMapping
public
AjaxResult
edit
(
@RequestBody
BalanceLog
balanceLog
)
{
...
...
@@ -82,7 +82,7 @@ public class BalanceLogController extends BaseController {
/**
* 删除余额日志
*/
@PreAuthorize
(
"@ss.hasPermi('system:
l
og:remove')"
)
@PreAuthorize
(
"@ss.hasPermi('system:
balanceL
og:remove')"
)
@Log
(
title
=
"余额日志"
,
businessType
=
BusinessType
.
DELETE
)
@DeleteMapping
(
"/{ids}"
)
public
AjaxResult
remove
(
@PathVariable
Long
[]
ids
)
{
...
...
share-admin/src/main/java/share/web/controller/system/DurationLogController.java
View file @
38ecad71
...
...
@@ -30,7 +30,7 @@ public class DurationLogController extends BaseController {
/**
* 查询时长日志列表
*/
@PreAuthorize
(
"@ss.hasPermi('system:
l
og:list')"
)
@PreAuthorize
(
"@ss.hasPermi('system:
durationL
og:list')"
)
@GetMapping
(
"/list"
)
public
TableDataInfo
list
(
DurationLog
durationLog
)
{
startPage
();
...
...
@@ -41,7 +41,7 @@ public class DurationLogController extends BaseController {
/**
* 导出时长日志列表
*/
@PreAuthorize
(
"@ss.hasPermi('system:
l
og:export')"
)
@PreAuthorize
(
"@ss.hasPermi('system:
durationL
og:export')"
)
@Log
(
title
=
"时长日志"
,
businessType
=
BusinessType
.
EXPORT
)
@PostMapping
(
"/export"
)
public
void
export
(
HttpServletResponse
response
,
DurationLog
durationLog
)
{
...
...
@@ -53,7 +53,7 @@ public class DurationLogController extends BaseController {
/**
* 获取时长日志详细信息
*/
@PreAuthorize
(
"@ss.hasPermi('system:
l
og:query')"
)
@PreAuthorize
(
"@ss.hasPermi('system:
durationL
og:query')"
)
@GetMapping
(
value
=
"/{id}"
)
public
AjaxResult
getInfo
(
@PathVariable
(
"id"
)
Long
id
)
{
return
success
(
durationLogService
.
selectDurationLogById
(
id
));
...
...
@@ -62,7 +62,7 @@ public class DurationLogController extends BaseController {
/**
* 新增时长日志
*/
@PreAuthorize
(
"@ss.hasPermi('system:
l
og:add')"
)
@PreAuthorize
(
"@ss.hasPermi('system:
durationL
og:add')"
)
@Log
(
title
=
"时长日志"
,
businessType
=
BusinessType
.
INSERT
)
@PostMapping
public
AjaxResult
add
(
@RequestBody
DurationLog
durationLog
)
{
...
...
@@ -72,7 +72,7 @@ public class DurationLogController extends BaseController {
/**
* 修改时长日志
*/
@PreAuthorize
(
"@ss.hasPermi('system:
l
og:edit')"
)
@PreAuthorize
(
"@ss.hasPermi('system:
durationL
og:edit')"
)
@Log
(
title
=
"时长日志"
,
businessType
=
BusinessType
.
UPDATE
)
@PutMapping
public
AjaxResult
edit
(
@RequestBody
DurationLog
durationLog
)
{
...
...
@@ -82,7 +82,7 @@ public class DurationLogController extends BaseController {
/**
* 删除时长日志
*/
@PreAuthorize
(
"@ss.hasPermi('system:
l
og:remove')"
)
@PreAuthorize
(
"@ss.hasPermi('system:
durationL
og:remove')"
)
@Log
(
title
=
"时长日志"
,
businessType
=
BusinessType
.
DELETE
)
@DeleteMapping
(
"/{ids}"
)
public
AjaxResult
remove
(
@PathVariable
Long
[]
ids
)
{
...
...
share-admin/src/main/java/share/web/controller/system/EquityMembersOrderConfigController.java
View file @
38ecad71
...
...
@@ -30,7 +30,7 @@ public class EquityMembersOrderConfigController extends BaseController {
/**
* 查询权益会员订单配置列表
*/
@PreAuthorize
(
"@ss.hasPermi('system:
c
onfig:list')"
)
@PreAuthorize
(
"@ss.hasPermi('system:
equityMembersOrderC
onfig:list')"
)
@GetMapping
(
"/list"
)
public
TableDataInfo
list
(
EquityMembersOrderConfig
equityMembersOrderConfig
)
{
startPage
();
...
...
@@ -41,7 +41,7 @@ public class EquityMembersOrderConfigController extends BaseController {
/**
* 导出权益会员订单配置列表
*/
@PreAuthorize
(
"@ss.hasPermi('system:
c
onfig:export')"
)
@PreAuthorize
(
"@ss.hasPermi('system:
equityMembersOrderC
onfig:export')"
)
@Log
(
title
=
"权益会员订单配置"
,
businessType
=
BusinessType
.
EXPORT
)
@PostMapping
(
"/export"
)
public
void
export
(
HttpServletResponse
response
,
EquityMembersOrderConfig
equityMembersOrderConfig
)
{
...
...
@@ -53,7 +53,7 @@ public class EquityMembersOrderConfigController extends BaseController {
/**
* 获取权益会员订单配置详细信息
*/
@PreAuthorize
(
"@ss.hasPermi('system:
c
onfig:query')"
)
@PreAuthorize
(
"@ss.hasPermi('system:
equityMembersOrderC
onfig:query')"
)
@GetMapping
(
value
=
"/{id}"
)
public
AjaxResult
getInfo
(
@PathVariable
(
"id"
)
Long
id
)
{
return
success
(
equityMembersOrderConfigService
.
selectEquityMembersOrderConfigById
(
id
));
...
...
@@ -62,7 +62,7 @@ public class EquityMembersOrderConfigController extends BaseController {
/**
* 新增权益会员订单配置
*/
@PreAuthorize
(
"@ss.hasPermi('system:
c
onfig:add')"
)
@PreAuthorize
(
"@ss.hasPermi('system:
equityMembersOrderC
onfig:add')"
)
@Log
(
title
=
"权益会员订单配置"
,
businessType
=
BusinessType
.
INSERT
)
@PostMapping
public
AjaxResult
add
(
@RequestBody
EquityMembersOrderConfig
equityMembersOrderConfig
)
{
...
...
@@ -72,7 +72,7 @@ public class EquityMembersOrderConfigController extends BaseController {
/**
* 修改权益会员订单配置
*/
@PreAuthorize
(
"@ss.hasPermi('system:
c
onfig:edit')"
)
@PreAuthorize
(
"@ss.hasPermi('system:
equityMembersOrderC
onfig:edit')"
)
@Log
(
title
=
"权益会员订单配置"
,
businessType
=
BusinessType
.
UPDATE
)
@PutMapping
public
AjaxResult
edit
(
@RequestBody
EquityMembersOrderConfig
equityMembersOrderConfig
)
{
...
...
@@ -82,7 +82,7 @@ public class EquityMembersOrderConfigController extends BaseController {
/**
* 删除权益会员订单配置
*/
@PreAuthorize
(
"@ss.hasPermi('system:
c
onfig:remove')"
)
@PreAuthorize
(
"@ss.hasPermi('system:
equityMembersOrderC
onfig:remove')"
)
@Log
(
title
=
"权益会员订单配置"
,
businessType
=
BusinessType
.
DELETE
)
@DeleteMapping
(
"/{ids}"
)
public
AjaxResult
remove
(
@PathVariable
Long
[]
ids
)
{
...
...
share-admin/src/main/java/share/web/controller/system/EquityMembersOrderController.java
View file @
38ecad71
...
...
@@ -30,7 +30,7 @@ public class EquityMembersOrderController extends BaseController {
/**
* 查询权益会员订单列表
*/
@PreAuthorize
(
"@ss.hasPermi('system:
o
rder:list')"
)
@PreAuthorize
(
"@ss.hasPermi('system:
equityMembersO
rder:list')"
)
@GetMapping
(
"/list"
)
public
TableDataInfo
list
(
EquityMembersOrder
equityMembersOrder
)
{
startPage
();
...
...
@@ -41,7 +41,7 @@ public class EquityMembersOrderController extends BaseController {
/**
* 导出权益会员订单列表
*/
@PreAuthorize
(
"@ss.hasPermi('system:
o
rder:export')"
)
@PreAuthorize
(
"@ss.hasPermi('system:
equityMembersO
rder:export')"
)
@Log
(
title
=
"权益会员订单"
,
businessType
=
BusinessType
.
EXPORT
)
@PostMapping
(
"/export"
)
public
void
export
(
HttpServletResponse
response
,
EquityMembersOrder
equityMembersOrder
)
{
...
...
@@ -53,7 +53,7 @@ public class EquityMembersOrderController extends BaseController {
/**
* 获取权益会员订单详细信息
*/
@PreAuthorize
(
"@ss.hasPermi('system:
o
rder:query')"
)
@PreAuthorize
(
"@ss.hasPermi('system:
equityMembersO
rder:query')"
)
@GetMapping
(
value
=
"/{id}"
)
public
AjaxResult
getInfo
(
@PathVariable
(
"id"
)
Long
id
)
{
return
success
(
equityMembersOrderService
.
selectEquityMembersOrderById
(
id
));
...
...
@@ -62,7 +62,7 @@ public class EquityMembersOrderController extends BaseController {
/**
* 新增权益会员订单
*/
@PreAuthorize
(
"@ss.hasPermi('system:
o
rder:add')"
)
@PreAuthorize
(
"@ss.hasPermi('system:
equityMembersO
rder:add')"
)
@Log
(
title
=
"权益会员订单"
,
businessType
=
BusinessType
.
INSERT
)
@PostMapping
public
AjaxResult
add
(
@RequestBody
EquityMembersOrder
equityMembersOrder
)
{
...
...
@@ -72,7 +72,7 @@ public class EquityMembersOrderController extends BaseController {
/**
* 修改权益会员订单
*/
@PreAuthorize
(
"@ss.hasPermi('system:
o
rder:edit')"
)
@PreAuthorize
(
"@ss.hasPermi('system:
equityMembersO
rder:edit')"
)
@Log
(
title
=
"权益会员订单"
,
businessType
=
BusinessType
.
UPDATE
)
@PutMapping
public
AjaxResult
edit
(
@RequestBody
EquityMembersOrder
equityMembersOrder
)
{
...
...
@@ -82,7 +82,7 @@ public class EquityMembersOrderController extends BaseController {
/**
* 删除权益会员订单
*/
@PreAuthorize
(
"@ss.hasPermi('system:
o
rder:remove')"
)
@PreAuthorize
(
"@ss.hasPermi('system:
equityMembersO
rder:remove')"
)
@Log
(
title
=
"权益会员订单"
,
businessType
=
BusinessType
.
DELETE
)
@DeleteMapping
(
"/{ids}"
)
public
AjaxResult
remove
(
@PathVariable
Long
[]
ids
)
{
...
...
share-admin/src/main/java/share/web/controller/system/IntegralLogController.java
View file @
38ecad71
...
...
@@ -30,7 +30,7 @@ public class IntegralLogController extends BaseController {
/**
* 查询积分日志列表
*/
@PreAuthorize
(
"@ss.hasPermi('system:
l
og:list')"
)
@PreAuthorize
(
"@ss.hasPermi('system:
integralL
og:list')"
)
@GetMapping
(
"/list"
)
public
TableDataInfo
list
(
IntegralLog
integralLog
)
{
startPage
();
...
...
@@ -41,7 +41,7 @@ public class IntegralLogController extends BaseController {
/**
* 导出积分日志列表
*/
@PreAuthorize
(
"@ss.hasPermi('system:
l
og:export')"
)
@PreAuthorize
(
"@ss.hasPermi('system:
integralL
og:export')"
)
@Log
(
title
=
"积分日志"
,
businessType
=
BusinessType
.
EXPORT
)
@PostMapping
(
"/export"
)
public
void
export
(
HttpServletResponse
response
,
IntegralLog
integralLog
)
{
...
...
@@ -53,7 +53,7 @@ public class IntegralLogController extends BaseController {
/**
* 获取积分日志详细信息
*/
@PreAuthorize
(
"@ss.hasPermi('system:
l
og:query')"
)
@PreAuthorize
(
"@ss.hasPermi('system:
integralL
og:query')"
)
@GetMapping
(
value
=
"/{id}"
)
public
AjaxResult
getInfo
(
@PathVariable
(
"id"
)
Long
id
)
{
return
success
(
integralLogService
.
selectIntegralLogById
(
id
));
...
...
@@ -62,7 +62,7 @@ public class IntegralLogController extends BaseController {
/**
* 新增积分日志
*/
@PreAuthorize
(
"@ss.hasPermi('system:
l
og:add')"
)
@PreAuthorize
(
"@ss.hasPermi('system:
integralL
og:add')"
)
@Log
(
title
=
"积分日志"
,
businessType
=
BusinessType
.
INSERT
)
@PostMapping
public
AjaxResult
add
(
@RequestBody
IntegralLog
integralLog
)
{
...
...
@@ -72,7 +72,7 @@ public class IntegralLogController extends BaseController {
/**
* 修改积分日志
*/
@PreAuthorize
(
"@ss.hasPermi('system:
l
og:edit')"
)
@PreAuthorize
(
"@ss.hasPermi('system:
integralL
og:edit')"
)
@Log
(
title
=
"积分日志"
,
businessType
=
BusinessType
.
UPDATE
)
@PutMapping
public
AjaxResult
edit
(
@RequestBody
IntegralLog
integralLog
)
{
...
...
@@ -82,7 +82,7 @@ public class IntegralLogController extends BaseController {
/**
* 删除积分日志
*/
@PreAuthorize
(
"@ss.hasPermi('system:
l
og:remove')"
)
@PreAuthorize
(
"@ss.hasPermi('system:
integralL
og:remove')"
)
@Log
(
title
=
"积分日志"
,
businessType
=
BusinessType
.
DELETE
)
@DeleteMapping
(
"/{ids}"
)
public
AjaxResult
remove
(
@PathVariable
Long
[]
ids
)
{
...
...
share-admin/src/main/java/share/web/controller/system/MemberConfigController.java
View file @
38ecad71
...
...
@@ -30,7 +30,7 @@ public class MemberConfigController extends BaseController {
/**
* 查询会员配置列表
*/
@PreAuthorize
(
"@ss.hasPermi('system:
c
onfig:list')"
)
@PreAuthorize
(
"@ss.hasPermi('system:
memberC
onfig:list')"
)
@GetMapping
(
"/list"
)
public
TableDataInfo
list
(
MemberConfig
memberConfig
)
{
startPage
();
...
...
@@ -41,7 +41,7 @@ public class MemberConfigController extends BaseController {
/**
* 导出会员配置列表
*/
@PreAuthorize
(
"@ss.hasPermi('system:
c
onfig:export')"
)
@PreAuthorize
(
"@ss.hasPermi('system:
memberC
onfig:export')"
)
@Log
(
title
=
"会员配置"
,
businessType
=
BusinessType
.
EXPORT
)
@PostMapping
(
"/export"
)
public
void
export
(
HttpServletResponse
response
,
MemberConfig
memberConfig
)
{
...
...
@@ -53,7 +53,7 @@ public class MemberConfigController extends BaseController {
/**
* 获取会员配置详细信息
*/
@PreAuthorize
(
"@ss.hasPermi('system:
c
onfig:query')"
)
@PreAuthorize
(
"@ss.hasPermi('system:
memberC
onfig:query')"
)
@GetMapping
(
value
=
"/{id}"
)
public
AjaxResult
getInfo
(
@PathVariable
(
"id"
)
Long
id
)
{
return
success
(
memberConfigService
.
selectMemberConfigById
(
id
));
...
...
@@ -62,7 +62,7 @@ public class MemberConfigController extends BaseController {
/**
* 新增会员配置
*/
@PreAuthorize
(
"@ss.hasPermi('system:
c
onfig:add')"
)
@PreAuthorize
(
"@ss.hasPermi('system:
memberC
onfig:add')"
)
@Log
(
title
=
"会员配置"
,
businessType
=
BusinessType
.
INSERT
)
@PostMapping
public
AjaxResult
add
(
@RequestBody
MemberConfig
memberConfig
)
{
...
...
@@ -72,7 +72,7 @@ public class MemberConfigController extends BaseController {
/**
* 修改会员配置
*/
@PreAuthorize
(
"@ss.hasPermi('system:
c
onfig:edit')"
)
@PreAuthorize
(
"@ss.hasPermi('system:
memberC
onfig:edit')"
)
@Log
(
title
=
"会员配置"
,
businessType
=
BusinessType
.
UPDATE
)
@PutMapping
public
AjaxResult
edit
(
@RequestBody
MemberConfig
memberConfig
)
{
...
...
@@ -82,7 +82,7 @@ public class MemberConfigController extends BaseController {
/**
* 删除会员配置
*/
@PreAuthorize
(
"@ss.hasPermi('system:
c
onfig:remove')"
)
@PreAuthorize
(
"@ss.hasPermi('system:
memberC
onfig:remove')"
)
@Log
(
title
=
"会员配置"
,
businessType
=
BusinessType
.
DELETE
)
@DeleteMapping
(
"/{ids}"
)
public
AjaxResult
remove
(
@PathVariable
Long
[]
ids
)
{
...
...
share-admin/src/main/java/share/web/controller/system/RechargeConfController.java
View file @
38ecad71
...
...
@@ -30,7 +30,7 @@ public class RechargeConfController extends BaseController {
/**
* 查询充值配置列表
*/
@PreAuthorize
(
"@ss.hasPermi('system:
c
onf:list')"
)
@PreAuthorize
(
"@ss.hasPermi('system:
rechargeC
onf:list')"
)
@GetMapping
(
"/list"
)
public
TableDataInfo
list
(
RechargeConf
rechargeConf
)
{
startPage
();
...
...
@@ -41,7 +41,7 @@ public class RechargeConfController extends BaseController {
/**
* 导出充值配置列表
*/
@PreAuthorize
(
"@ss.hasPermi('system:
c
onf:export')"
)
@PreAuthorize
(
"@ss.hasPermi('system:
rechargeC
onf:export')"
)
@Log
(
title
=
"充值配置"
,
businessType
=
BusinessType
.
EXPORT
)
@PostMapping
(
"/export"
)
public
void
export
(
HttpServletResponse
response
,
RechargeConf
rechargeConf
)
{
...
...
@@ -53,7 +53,7 @@ public class RechargeConfController extends BaseController {
/**
* 获取充值配置详细信息
*/
@PreAuthorize
(
"@ss.hasPermi('system:
c
onf:query')"
)
@PreAuthorize
(
"@ss.hasPermi('system:
rechargeC
onf:query')"
)
@GetMapping
(
value
=
"/{id}"
)
public
AjaxResult
getInfo
(
@PathVariable
(
"id"
)
Long
id
)
{
return
success
(
rechargeConfService
.
selectRechargeConfById
(
id
));
...
...
@@ -62,7 +62,7 @@ public class RechargeConfController extends BaseController {
/**
* 新增充值配置
*/
@PreAuthorize
(
"@ss.hasPermi('system:
c
onf:add')"
)
@PreAuthorize
(
"@ss.hasPermi('system:
rechargeC
onf:add')"
)
@Log
(
title
=
"充值配置"
,
businessType
=
BusinessType
.
INSERT
)
@PostMapping
public
AjaxResult
add
(
@RequestBody
RechargeConf
rechargeConf
)
{
...
...
@@ -72,7 +72,7 @@ public class RechargeConfController extends BaseController {
/**
* 修改充值配置
*/
@PreAuthorize
(
"@ss.hasPermi('system:
c
onf:edit')"
)
@PreAuthorize
(
"@ss.hasPermi('system:
rechargeC
onf:edit')"
)
@Log
(
title
=
"充值配置"
,
businessType
=
BusinessType
.
UPDATE
)
@PutMapping
public
AjaxResult
edit
(
@RequestBody
RechargeConf
rechargeConf
)
{
...
...
@@ -82,7 +82,7 @@ public class RechargeConfController extends BaseController {
/**
* 删除充值配置
*/
@PreAuthorize
(
"@ss.hasPermi('system:
c
onf:remove')"
)
@PreAuthorize
(
"@ss.hasPermi('system:
rechargeC
onf:remove')"
)
@Log
(
title
=
"充值配置"
,
businessType
=
BusinessType
.
DELETE
)
@DeleteMapping
(
"/{ids}"
)
public
AjaxResult
remove
(
@PathVariable
Long
[]
ids
)
{
...
...
share-admin/src/main/java/share/web/controller/system/RechargeCouponConfController.java
View file @
38ecad71
...
...
@@ -30,7 +30,7 @@ public class RechargeCouponConfController extends BaseController {
/**
* 查询充值优惠券配置列表
*/
@PreAuthorize
(
"@ss.hasPermi('system:
c
onf:list')"
)
@PreAuthorize
(
"@ss.hasPermi('system:
rechargeCouponC
onf:list')"
)
@GetMapping
(
"/list"
)
public
TableDataInfo
list
(
RechargeCouponConf
rechargeCouponConf
)
{
startPage
();
...
...
@@ -41,7 +41,7 @@ public class RechargeCouponConfController extends BaseController {
/**
* 导出充值优惠券配置列表
*/
@PreAuthorize
(
"@ss.hasPermi('system:
c
onf:export')"
)
@PreAuthorize
(
"@ss.hasPermi('system:
rechargeCouponC
onf:export')"
)
@Log
(
title
=
"充值优惠券配置"
,
businessType
=
BusinessType
.
EXPORT
)
@PostMapping
(
"/export"
)
public
void
export
(
HttpServletResponse
response
,
RechargeCouponConf
rechargeCouponConf
)
{
...
...
@@ -53,7 +53,7 @@ public class RechargeCouponConfController extends BaseController {
/**
* 获取充值优惠券配置详细信息
*/
@PreAuthorize
(
"@ss.hasPermi('system:
c
onf:query')"
)
@PreAuthorize
(
"@ss.hasPermi('system:
rechargeCouponC
onf:query')"
)
@GetMapping
(
value
=
"/{id}"
)
public
AjaxResult
getInfo
(
@PathVariable
(
"id"
)
Long
id
)
{
return
success
(
rechargeCouponConfService
.
selectRechargeCouponConfById
(
id
));
...
...
@@ -62,7 +62,7 @@ public class RechargeCouponConfController extends BaseController {
/**
* 新增充值优惠券配置
*/
@PreAuthorize
(
"@ss.hasPermi('system:
c
onf:add')"
)
@PreAuthorize
(
"@ss.hasPermi('system:
rechargeCouponC
onf:add')"
)
@Log
(
title
=
"充值优惠券配置"
,
businessType
=
BusinessType
.
INSERT
)
@PostMapping
public
AjaxResult
add
(
@RequestBody
RechargeCouponConf
rechargeCouponConf
)
{
...
...
@@ -72,7 +72,7 @@ public class RechargeCouponConfController extends BaseController {
/**
* 修改充值优惠券配置
*/
@PreAuthorize
(
"@ss.hasPermi('system:
c
onf:edit')"
)
@PreAuthorize
(
"@ss.hasPermi('system:
rechargeCouponC
onf:edit')"
)
@Log
(
title
=
"充值优惠券配置"
,
businessType
=
BusinessType
.
UPDATE
)
@PutMapping
public
AjaxResult
edit
(
@RequestBody
RechargeCouponConf
rechargeCouponConf
)
{
...
...
@@ -82,7 +82,7 @@ public class RechargeCouponConfController extends BaseController {
/**
* 删除充值优惠券配置
*/
@PreAuthorize
(
"@ss.hasPermi('system:
c
onf:remove')"
)
@PreAuthorize
(
"@ss.hasPermi('system:
rechargeCouponC
onf:remove')"
)
@Log
(
title
=
"充值优惠券配置"
,
businessType
=
BusinessType
.
DELETE
)
@DeleteMapping
(
"/{ids}"
)
public
AjaxResult
remove
(
@PathVariable
Long
[]
ids
)
{
...
...
share-admin/src/main/java/share/web/controller/system/RechargeRefundController.java
View file @
38ecad71
...
...
@@ -30,7 +30,7 @@ public class RechargeRefundController extends BaseController {
/**
* 查询充值退款申请列表
*/
@PreAuthorize
(
"@ss.hasPermi('system:refund:list')"
)
@PreAuthorize
(
"@ss.hasPermi('system:re
chargeRe
fund:list')"
)
@GetMapping
(
"/list"
)
public
TableDataInfo
list
(
RechargeRefund
rechargeRefund
)
{
startPage
();
...
...
@@ -41,7 +41,7 @@ public class RechargeRefundController extends BaseController {
/**
* 导出充值退款申请列表
*/
@PreAuthorize
(
"@ss.hasPermi('system:refund:export')"
)
@PreAuthorize
(
"@ss.hasPermi('system:re
chargeRe
fund:export')"
)
@Log
(
title
=
"充值退款申请"
,
businessType
=
BusinessType
.
EXPORT
)
@PostMapping
(
"/export"
)
public
void
export
(
HttpServletResponse
response
,
RechargeRefund
rechargeRefund
)
{
...
...
@@ -53,7 +53,7 @@ public class RechargeRefundController extends BaseController {
/**
* 获取充值退款申请详细信息
*/
@PreAuthorize
(
"@ss.hasPermi('system:refund:query')"
)
@PreAuthorize
(
"@ss.hasPermi('system:re
chargeRe
fund:query')"
)
@GetMapping
(
value
=
"/{id}"
)
public
AjaxResult
getInfo
(
@PathVariable
(
"id"
)
Long
id
)
{
return
success
(
rechargeRefundService
.
selectRechargeRefundById
(
id
));
...
...
@@ -62,7 +62,7 @@ public class RechargeRefundController extends BaseController {
/**
* 新增充值退款申请
*/
@PreAuthorize
(
"@ss.hasPermi('system:refund:add')"
)
@PreAuthorize
(
"@ss.hasPermi('system:re
chargeRe
fund:add')"
)
@Log
(
title
=
"充值退款申请"
,
businessType
=
BusinessType
.
INSERT
)
@PostMapping
public
AjaxResult
add
(
@RequestBody
RechargeRefund
rechargeRefund
)
{
...
...
@@ -72,7 +72,7 @@ public class RechargeRefundController extends BaseController {
/**
* 修改充值退款申请
*/
@PreAuthorize
(
"@ss.hasPermi('system:refund:edit')"
)
@PreAuthorize
(
"@ss.hasPermi('system:re
chargeRe
fund:edit')"
)
@Log
(
title
=
"充值退款申请"
,
businessType
=
BusinessType
.
UPDATE
)
@PutMapping
public
AjaxResult
edit
(
@RequestBody
RechargeRefund
rechargeRefund
)
{
...
...
@@ -82,7 +82,7 @@ public class RechargeRefundController extends BaseController {
/**
* 删除充值退款申请
*/
@PreAuthorize
(
"@ss.hasPermi('system:refund:remove')"
)
@PreAuthorize
(
"@ss.hasPermi('system:re
chargeRe
fund:remove')"
)
@Log
(
title
=
"充值退款申请"
,
businessType
=
BusinessType
.
DELETE
)
@DeleteMapping
(
"/{ids}"
)
public
AjaxResult
remove
(
@PathVariable
Long
[]
ids
)
{
...
...
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