Commit 38ecad71 by 吕明尚

修改权限标识

parent 90130667
......@@ -30,7 +30,7 @@ public class BalanceLogController extends BaseController {
/**
* 查询余额日志列表
*/
@PreAuthorize("@ss.hasPermi('system:log:list')")
@PreAuthorize("@ss.hasPermi('system:balanceLog:list')")
@GetMapping("/list")
public TableDataInfo list(BalanceLog balanceLog) {
startPage();
......@@ -41,7 +41,7 @@ public class BalanceLogController extends BaseController {
/**
* 导出余额日志列表
*/
@PreAuthorize("@ss.hasPermi('system:log:export')")
@PreAuthorize("@ss.hasPermi('system:balanceLog: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:log:query')")
@PreAuthorize("@ss.hasPermi('system:balanceLog: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:log:add')")
@PreAuthorize("@ss.hasPermi('system:balanceLog: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:log:edit')")
@PreAuthorize("@ss.hasPermi('system:balanceLog: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:log:remove')")
@PreAuthorize("@ss.hasPermi('system:balanceLog:remove')")
@Log(title = "余额日志", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids) {
......
......@@ -30,7 +30,7 @@ public class DurationLogController extends BaseController {
/**
* 查询时长日志列表
*/
@PreAuthorize("@ss.hasPermi('system:log:list')")
@PreAuthorize("@ss.hasPermi('system:durationLog:list')")
@GetMapping("/list")
public TableDataInfo list(DurationLog durationLog) {
startPage();
......@@ -41,7 +41,7 @@ public class DurationLogController extends BaseController {
/**
* 导出时长日志列表
*/
@PreAuthorize("@ss.hasPermi('system:log:export')")
@PreAuthorize("@ss.hasPermi('system:durationLog: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:log:query')")
@PreAuthorize("@ss.hasPermi('system:durationLog: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:log:add')")
@PreAuthorize("@ss.hasPermi('system:durationLog: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:log:edit')")
@PreAuthorize("@ss.hasPermi('system:durationLog: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:log:remove')")
@PreAuthorize("@ss.hasPermi('system:durationLog:remove')")
@Log(title = "时长日志", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids) {
......
......@@ -30,7 +30,7 @@ public class EquityMembersOrderConfigController extends BaseController {
/**
* 查询权益会员订单配置列表
*/
@PreAuthorize("@ss.hasPermi('system:config:list')")
@PreAuthorize("@ss.hasPermi('system:equityMembersOrderConfig:list')")
@GetMapping("/list")
public TableDataInfo list(EquityMembersOrderConfig equityMembersOrderConfig) {
startPage();
......@@ -41,7 +41,7 @@ public class EquityMembersOrderConfigController extends BaseController {
/**
* 导出权益会员订单配置列表
*/
@PreAuthorize("@ss.hasPermi('system:config:export')")
@PreAuthorize("@ss.hasPermi('system:equityMembersOrderConfig: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:config:query')")
@PreAuthorize("@ss.hasPermi('system:equityMembersOrderConfig: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:config:add')")
@PreAuthorize("@ss.hasPermi('system:equityMembersOrderConfig: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:config:edit')")
@PreAuthorize("@ss.hasPermi('system:equityMembersOrderConfig: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:config:remove')")
@PreAuthorize("@ss.hasPermi('system:equityMembersOrderConfig:remove')")
@Log(title = "权益会员订单配置", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids) {
......
......@@ -30,7 +30,7 @@ public class EquityMembersOrderController extends BaseController {
/**
* 查询权益会员订单列表
*/
@PreAuthorize("@ss.hasPermi('system:order:list')")
@PreAuthorize("@ss.hasPermi('system:equityMembersOrder:list')")
@GetMapping("/list")
public TableDataInfo list(EquityMembersOrder equityMembersOrder) {
startPage();
......@@ -41,7 +41,7 @@ public class EquityMembersOrderController extends BaseController {
/**
* 导出权益会员订单列表
*/
@PreAuthorize("@ss.hasPermi('system:order:export')")
@PreAuthorize("@ss.hasPermi('system:equityMembersOrder: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:order:query')")
@PreAuthorize("@ss.hasPermi('system:equityMembersOrder: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:order:add')")
@PreAuthorize("@ss.hasPermi('system:equityMembersOrder: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:order:edit')")
@PreAuthorize("@ss.hasPermi('system:equityMembersOrder: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:order:remove')")
@PreAuthorize("@ss.hasPermi('system:equityMembersOrder:remove')")
@Log(title = "权益会员订单", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids) {
......
......@@ -30,7 +30,7 @@ public class IntegralLogController extends BaseController {
/**
* 查询积分日志列表
*/
@PreAuthorize("@ss.hasPermi('system:log:list')")
@PreAuthorize("@ss.hasPermi('system:integralLog:list')")
@GetMapping("/list")
public TableDataInfo list(IntegralLog integralLog) {
startPage();
......@@ -41,7 +41,7 @@ public class IntegralLogController extends BaseController {
/**
* 导出积分日志列表
*/
@PreAuthorize("@ss.hasPermi('system:log:export')")
@PreAuthorize("@ss.hasPermi('system:integralLog: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:log:query')")
@PreAuthorize("@ss.hasPermi('system:integralLog: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:log:add')")
@PreAuthorize("@ss.hasPermi('system:integralLog: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:log:edit')")
@PreAuthorize("@ss.hasPermi('system:integralLog: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:log:remove')")
@PreAuthorize("@ss.hasPermi('system:integralLog:remove')")
@Log(title = "积分日志", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids) {
......
......@@ -30,7 +30,7 @@ public class MemberConfigController extends BaseController {
/**
* 查询会员配置列表
*/
@PreAuthorize("@ss.hasPermi('system:config:list')")
@PreAuthorize("@ss.hasPermi('system:memberConfig:list')")
@GetMapping("/list")
public TableDataInfo list(MemberConfig memberConfig) {
startPage();
......@@ -41,7 +41,7 @@ public class MemberConfigController extends BaseController {
/**
* 导出会员配置列表
*/
@PreAuthorize("@ss.hasPermi('system:config:export')")
@PreAuthorize("@ss.hasPermi('system:memberConfig: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:config:query')")
@PreAuthorize("@ss.hasPermi('system:memberConfig: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:config:add')")
@PreAuthorize("@ss.hasPermi('system:memberConfig: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:config:edit')")
@PreAuthorize("@ss.hasPermi('system:memberConfig: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:config:remove')")
@PreAuthorize("@ss.hasPermi('system:memberConfig:remove')")
@Log(title = "会员配置", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids) {
......
......@@ -30,7 +30,7 @@ public class RechargeConfController extends BaseController {
/**
* 查询充值配置列表
*/
@PreAuthorize("@ss.hasPermi('system:conf:list')")
@PreAuthorize("@ss.hasPermi('system:rechargeConf:list')")
@GetMapping("/list")
public TableDataInfo list(RechargeConf rechargeConf) {
startPage();
......@@ -41,7 +41,7 @@ public class RechargeConfController extends BaseController {
/**
* 导出充值配置列表
*/
@PreAuthorize("@ss.hasPermi('system:conf:export')")
@PreAuthorize("@ss.hasPermi('system:rechargeConf: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:conf:query')")
@PreAuthorize("@ss.hasPermi('system:rechargeConf: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:conf:add')")
@PreAuthorize("@ss.hasPermi('system:rechargeConf: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:conf:edit')")
@PreAuthorize("@ss.hasPermi('system:rechargeConf: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:conf:remove')")
@PreAuthorize("@ss.hasPermi('system:rechargeConf:remove')")
@Log(title = "充值配置", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids) {
......
......@@ -30,7 +30,7 @@ public class RechargeCouponConfController extends BaseController {
/**
* 查询充值优惠券配置列表
*/
@PreAuthorize("@ss.hasPermi('system:conf:list')")
@PreAuthorize("@ss.hasPermi('system:rechargeCouponConf:list')")
@GetMapping("/list")
public TableDataInfo list(RechargeCouponConf rechargeCouponConf) {
startPage();
......@@ -41,7 +41,7 @@ public class RechargeCouponConfController extends BaseController {
/**
* 导出充值优惠券配置列表
*/
@PreAuthorize("@ss.hasPermi('system:conf:export')")
@PreAuthorize("@ss.hasPermi('system:rechargeCouponConf: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:conf:query')")
@PreAuthorize("@ss.hasPermi('system:rechargeCouponConf: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:conf:add')")
@PreAuthorize("@ss.hasPermi('system:rechargeCouponConf: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:conf:edit')")
@PreAuthorize("@ss.hasPermi('system:rechargeCouponConf: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:conf:remove')")
@PreAuthorize("@ss.hasPermi('system:rechargeCouponConf:remove')")
@Log(title = "充值优惠券配置", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids) {
......
......@@ -30,7 +30,7 @@ public class RechargeRefundController extends BaseController {
/**
* 查询充值退款申请列表
*/
@PreAuthorize("@ss.hasPermi('system:refund:list')")
@PreAuthorize("@ss.hasPermi('system:rechargeRefund: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:rechargeRefund: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:rechargeRefund: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:rechargeRefund: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:rechargeRefund: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:rechargeRefund:remove')")
@Log(title = "充值退款申请", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment