Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cust-api
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
李伟
cust-api
Commits
82a00cba
Commit
82a00cba
authored
Jan 11, 2025
by
罗林杰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改权限字段
parent
6cb48b53
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
58 additions
and
45 deletions
+58
-45
CmsActivityController.java
...usiness/cmsActivity/controller/CmsActivityController.java
+6
-6
CmsApplicationController.java
...s/cmsApplication/controller/CmsApplicationController.java
+5
-5
CmsBannerController.java
...ft/business/cmsBanner/controller/CmsBannerController.java
+9
-8
CmsNoticeController.java
...ft/business/cmsNotice/controller/CmsNoticeController.java
+8
-8
CmsOrderController.java
...soft/business/cmsOrder/controller/CmsOrderController.java
+7
-1
MemInfoController.java
...cisoft/business/memInfo/controller/MemInfoController.java
+3
-0
OpmArticleController.java
.../business/opmArticle/controller/OpmArticleController.java
+10
-9
OpmTopicController.java
...soft/business/opmTopic/controller/OpmTopicController.java
+10
-8
No files found.
src/main/java/org/rcisoft/business/cmsActivity/controller/CmsActivityController.java
View file @
82a00cba
...
...
@@ -78,7 +78,7 @@ public class CmsActivityController extends CyPaginationController<CmsActivity> {
cmsActivity
);
}
// @PreAuthorize("@cyPerm.hasPerm('cms:activity:singleSearch
')")
@PreAuthorize
(
"@cyPerm.hasPerm('cms:activity:detail
')"
)
@CyOpeLogAnno
(
title
=
"system-活动管理-查询活动"
,
businessType
=
CyLogTypeEnum
.
QUERY
)
@Operation
(
summary
=
"查询单一活动"
,
description
=
"查询单一活动"
)
@Parameters
({
@Parameter
(
name
=
"businessId"
,
description
=
"businessId"
,
required
=
true
)})
...
...
@@ -90,7 +90,7 @@ public class CmsActivityController extends CyPaginationController<CmsActivity> {
cmsActivityServiceImpl
.
findById
(
businessId
));
}
//
@PreAuthorize("@cyPerm.hasPerm('sys:activity:list')")
@PreAuthorize
(
"@cyPerm.hasPerm('sys:activity:list')"
)
@CyOpeLogAnno
(
title
=
"system-活动管理-查询活动管理"
,
businessType
=
CyLogTypeEnum
.
QUERY
)
@Operation
(
summary
=
"查询活动集合"
,
description
=
"查询活动集合"
)
@GetMapping
(
value
=
"/queryCmsActivity"
)
...
...
@@ -101,7 +101,7 @@ public class CmsActivityController extends CyPaginationController<CmsActivity> {
cmsActivityServiceImpl
.
findAll
(
cmsActivity
));
}
// @PreAuthorize("@cyPerm.hasPerm('cms:activity:pageSearch
')")
@PreAuthorize
(
"@cyPerm.hasPerm('cms:activity:query
')"
)
@CyOpeLogAnno
(
title
=
"system-活动管理-查询活动"
,
businessType
=
CyLogTypeEnum
.
QUERY
)
@Operation
(
summary
=
"分页查询活动集合"
,
description
=
"分页查询活动集合"
)
@GetMapping
(
value
=
"/queryCmsActivityByPagination"
)
...
...
@@ -111,7 +111,7 @@ public class CmsActivityController extends CyPaginationController<CmsActivity> {
}
//修改状态
@PreAuthorize
(
"@cyPerm.hasPerm('cms:activity:
modificationsStatus
')"
)
@PreAuthorize
(
"@cyPerm.hasPerm('cms:activity:
update
')"
)
@CyOpeLogAnno
(
title
=
"system-活动管理管理-修改活动管理状态"
,
businessType
=
CyLogTypeEnum
.
UPDATE
)
@Operation
(
summary
=
"修改活动状态"
,
description
=
"修改活动状态"
)
@Parameters
({
@Parameter
(
name
=
"businessId"
,
description
=
"businessId"
,
required
=
true
)})
...
...
@@ -123,7 +123,7 @@ public class CmsActivityController extends CyPaginationController<CmsActivity> {
CyMessCons
.
MESSAGE_ALERT_ERROR
,
cmsActivity
);
}
@PreAuthorize
(
"@cyPerm.hasPerm('cms:activity:
derive
')"
)
@PreAuthorize
(
"@cyPerm.hasPerm('cms:activity:
export
')"
)
@CyOpeLogAnno
(
title
=
"system-活动管理管理-查询活动管理"
,
businessType
=
CyLogTypeEnum
.
EXPORT
)
@Operation
(
summary
=
"导出活动信息"
,
description
=
"导出活动信息"
)
@GetMapping
(
value
=
"/export"
)
...
...
@@ -144,7 +144,7 @@ public class CmsActivityController extends CyPaginationController<CmsActivity> {
CyEpExcelUtil
.
exportExcel
(
cmsActivityList
,
"活动信息"
,
"活动信息"
,
CmsActivity
.
class
,
excelName
,
response
);
}
@PreAuthorize
(
"@cyPerm.hasPerm('cms:activity:
pushActivityInfo
')"
)
@PreAuthorize
(
"@cyPerm.hasPerm('cms:activity:
add
')"
)
@CyOpeLogAnno
(
title
=
"system-活动管理-发布/取消活动"
,
businessType
=
CyLogTypeEnum
.
UPDATE
)
@Operation
(
summary
=
"发布/取消活动"
,
description
=
"发布/取消活动"
)
@PutMapping
(
"/pushActivityInfo"
)
...
...
src/main/java/org/rcisoft/business/cmsApplication/controller/CmsApplicationController.java
View file @
82a00cba
...
...
@@ -36,7 +36,7 @@ public class CmsApplicationController extends CyPaginationController<CmsApplicat
@Autowired
private
CmsApplicationService
cmsApplicationServiceImpl
;
@PreAuthorize
(
"@cyPerm.hasPerm('cms:application:
increase
')"
)
@PreAuthorize
(
"@cyPerm.hasPerm('cms:application:
add
')"
)
@CyOpeLogAnno
(
title
=
"system-报名表管理-新增报名表"
,
businessType
=
CyLogTypeEnum
.
INSERT
)
@Operation
(
summary
=
"添加报名表"
,
description
=
"添加报名表"
)
@PostMapping
(
value
=
"/add"
)
...
...
@@ -48,7 +48,7 @@ public class CmsApplicationController extends CyPaginationController<CmsApplicat
cmsApplication
);
}
@PreAuthorize
(
"@cyPerm.hasPerm('cms:a
ctivity:removing
')"
)
@PreAuthorize
(
"@cyPerm.hasPerm('cms:a
pplication:delete
')"
)
@CyOpeLogAnno
(
title
=
"system-报名表管理-删除报名表"
,
businessType
=
CyLogTypeEnum
.
DELETE
)
@Operation
(
summary
=
"删除报名表"
,
description
=
"删除报名表"
)
@Parameters
({
@Parameter
(
name
=
"businessId"
,
description
=
"businessId"
,
required
=
true
)})
...
...
@@ -62,7 +62,7 @@ public class CmsApplicationController extends CyPaginationController<CmsApplicat
businessId
);
}
@PreAuthorize
(
"@cyPerm.hasPerm('cms:a
ctivity:modifications
')"
)
@PreAuthorize
(
"@cyPerm.hasPerm('cms:a
pplication:update
')"
)
@CyOpeLogAnno
(
title
=
"system-报名表管理-修改报名表"
,
businessType
=
CyLogTypeEnum
.
INSERT
)
@Operation
(
summary
=
"修改报名表"
,
description
=
"修改报名表"
)
@Parameters
({
@Parameter
(
name
=
"businessId"
,
description
=
"businessId"
,
required
=
false
)})
...
...
@@ -76,7 +76,7 @@ public class CmsApplicationController extends CyPaginationController<CmsApplicat
cmsApplication
);
}
@PreAuthorize
(
"@cyPerm.hasPerm('cms:application:
singleSearch
')"
)
@PreAuthorize
(
"@cyPerm.hasPerm('cms:application:
detail
')"
)
@CyOpeLogAnno
(
title
=
"system-报名管理-查询报名"
,
businessType
=
CyLogTypeEnum
.
QUERY
)
@Operation
(
summary
=
"查询单一报名"
,
description
=
"查询单一报名"
)
@Parameters
({
@Parameter
(
name
=
"businessId"
,
description
=
"businessId"
,
required
=
true
)})
...
...
@@ -99,7 +99,7 @@ public class CmsApplicationController extends CyPaginationController<CmsApplicat
cmsApplicationServiceImpl
.
findAll
(
cmsApplication
));
}
@PreAuthorize
(
"@cyPerm.hasPerm('cms:application:
pageSearch
')"
)
@PreAuthorize
(
"@cyPerm.hasPerm('cms:application:
query
')"
)
@CyOpeLogAnno
(
title
=
"system-报名管理-查询报名"
,
businessType
=
CyLogTypeEnum
.
QUERY
)
@Operation
(
summary
=
"分页查询报名集合"
,
description
=
"分页查询报名集合"
)
@GetMapping
(
value
=
"/queryCmsApplicationByPagination"
)
...
...
src/main/java/org/rcisoft/business/cmsBanner/controller/CmsBannerController.java
View file @
82a00cba
...
...
@@ -37,7 +37,7 @@ public class CmsBannerController extends CyPaginationController<CmsBanner> {
@Autowired
private
CmsBannerService
cmsBannerServiceImpl
;
@PreAuthorize
(
"@cyPerm.hasPerm('cms:banner:
increase
')"
)
@PreAuthorize
(
"@cyPerm.hasPerm('cms:banner:
add
')"
)
@CyOpeLogAnno
(
title
=
"system-banner管理管理-新增banner管理"
,
businessType
=
CyLogTypeEnum
.
INSERT
)
@Operation
(
summary
=
"添加banner管理"
,
description
=
"添加banner管理"
)
@PostMapping
(
value
=
"/add"
)
...
...
@@ -48,7 +48,7 @@ public class CmsBannerController extends CyPaginationController<CmsBanner> {
CyMessCons
.
MESSAGE_ALERT_ERROR
,
cmsBanner
);
}
@PreAuthorize
(
"@cyPerm.hasPerm('cms:banner:
removing
')"
)
@PreAuthorize
(
"@cyPerm.hasPerm('cms:banner:
delete
')"
)
@CyOpeLogAnno
(
title
=
"system-banner管理管理-删除banner管理"
,
businessType
=
CyLogTypeEnum
.
DELETE
)
@Operation
(
summary
=
"逻辑删除banner管理"
,
description
=
"逻辑删除banner管理"
)
@Parameters
({
@Parameter
(
name
=
"businessId"
,
description
=
"businessId"
,
required
=
true
)})
...
...
@@ -61,7 +61,8 @@ public class CmsBannerController extends CyPaginationController<CmsBanner> {
CyMessCons
.
MESSAGE_ALERT_ERROR
,
businessId
);
}
//@PreAuthorize("@cyPerm.hasPerm('sys:banner:delete')")
@PreAuthorize
(
"@cyPerm.hasPerm('sys:banner:delete')"
)
@CyOpeLogAnno
(
title
=
"system-banner管理管理-删除banner管理"
,
businessType
=
CyLogTypeEnum
.
DELETE
)
@Operation
(
summary
=
"删除banner管理"
,
description
=
"删除banner管理"
)
@Parameters
({
@Parameter
(
name
=
"businessId"
,
description
=
"businessId"
,
required
=
true
)})
...
...
@@ -75,7 +76,7 @@ public class CmsBannerController extends CyPaginationController<CmsBanner> {
businessId
);
}
@PreAuthorize
(
"@cyPerm.hasPerm('cms:banner:
modifications
')"
)
@PreAuthorize
(
"@cyPerm.hasPerm('cms:banner:
update
')"
)
@CyOpeLogAnno
(
title
=
"system-banner管理管理-修改banner管理"
,
businessType
=
CyLogTypeEnum
.
UPDATE
)
@Operation
(
summary
=
"修改banner管理"
,
description
=
"修改banner管理"
)
@Parameters
({
@Parameter
(
name
=
"businessId"
,
description
=
"businessId"
,
required
=
false
)})
...
...
@@ -89,7 +90,7 @@ public class CmsBannerController extends CyPaginationController<CmsBanner> {
cmsBanner
);
}
@PreAuthorize
(
"@cyPerm.hasPerm('cms:banner:
singleSearch
')"
)
@PreAuthorize
(
"@cyPerm.hasPerm('cms:banner:
detail
')"
)
@CyOpeLogAnno
(
title
=
"system-banner管理管理-查询banner管理"
,
businessType
=
CyLogTypeEnum
.
QUERY
)
@Operation
(
summary
=
"查询单一banner管理"
,
description
=
"查询单一banner管理"
)
@Parameters
({
@Parameter
(
name
=
"businessId"
,
description
=
"businessId"
,
required
=
true
)})
...
...
@@ -101,7 +102,7 @@ public class CmsBannerController extends CyPaginationController<CmsBanner> {
cmsBannerServiceImpl
.
findById
(
businessId
));
}
@PreAuthorize
(
"@cyPerm.hasPerm('cms:banner:
search
')"
)
@PreAuthorize
(
"@cyPerm.hasPerm('cms:banner:
query
')"
)
@CyOpeLogAnno
(
title
=
"system-banner管理管理-查询banner管理"
,
businessType
=
CyLogTypeEnum
.
QUERY
)
@Operation
(
summary
=
"查询banner管理集合"
,
description
=
"查询banner管理集合"
)
@GetMapping
(
value
=
"/queryCmsBanners"
)
...
...
@@ -112,7 +113,7 @@ public class CmsBannerController extends CyPaginationController<CmsBanner> {
cmsBannerServiceImpl
.
findAll
(
cmsBanner
));
}
// @PreAuthorize("@cyPerm.hasPerm('cms:banner:pageSearch
')")
@PreAuthorize
(
"@cyPerm.hasPerm('cms:banner:query
')"
)
@CyOpeLogAnno
(
title
=
"system-banner管理管理-查询banner管理"
,
businessType
=
CyLogTypeEnum
.
QUERY
)
@Operation
(
summary
=
"分页查询banner管理集合"
,
description
=
"分页查询banner管理集合"
)
@GetMapping
(
value
=
"/queryCmsBannerByPagination"
)
...
...
@@ -121,7 +122,7 @@ public class CmsBannerController extends CyPaginationController<CmsBanner> {
return
getGridModelResponse
();
}
@PreAuthorize
(
"@cyPerm.hasPerm('cms:banner:
derive
')"
)
@PreAuthorize
(
"@cyPerm.hasPerm('cms:banner:
export
')"
)
@CyOpeLogAnno
(
title
=
"system-banner管理管理-查询banner管理"
,
businessType
=
CyLogTypeEnum
.
EXPORT
)
@Operation
(
summary
=
"导出banner管理信息"
,
description
=
"导出banner管理信息"
)
@GetMapping
(
value
=
"/export"
)
...
...
src/main/java/org/rcisoft/business/cmsNotice/controller/CmsNoticeController.java
View file @
82a00cba
...
...
@@ -38,7 +38,7 @@ public class CmsNoticeController extends CyPaginationController<CmsNotice> {
@Autowired
private
CmsNoticeService
cmsNoticeServiceImpl
;
@PreAuthorize
(
"@cyPerm.hasPerm('cms:notice:
increase
')"
)
@PreAuthorize
(
"@cyPerm.hasPerm('cms:notice:
add
')"
)
@CyOpeLogAnno
(
title
=
"system-公告管理-新增公告"
,
businessType
=
CyLogTypeEnum
.
INSERT
)
@Operation
(
summary
=
"添加公告"
,
description
=
"添加公告"
)
@PostMapping
(
value
=
"/add"
)
...
...
@@ -50,7 +50,7 @@ public class CmsNoticeController extends CyPaginationController<CmsNotice> {
cmsNotice
);
}
@PreAuthorize
(
"@cyPerm.hasPerm('cms:notice:
removing
')"
)
@PreAuthorize
(
"@cyPerm.hasPerm('cms:notice:
delete
')"
)
@CyOpeLogAnno
(
title
=
"system-公告管理-删除公告"
,
businessType
=
CyLogTypeEnum
.
DELETE
)
@Operation
(
summary
=
"删除公告"
,
description
=
"删除公告"
)
@Parameters
({
@Parameter
(
name
=
"businessId"
,
description
=
"businessId"
,
required
=
true
)})
...
...
@@ -64,7 +64,7 @@ public class CmsNoticeController extends CyPaginationController<CmsNotice> {
businessId
);
}
@PreAuthorize
(
"@cyPerm.hasPerm('cms:notice:
modifications
')"
)
@PreAuthorize
(
"@cyPerm.hasPerm('cms:notice:
update
')"
)
@CyOpeLogAnno
(
title
=
"system-公告管理-修改公告"
,
businessType
=
CyLogTypeEnum
.
INSERT
)
@Operation
(
summary
=
"修改公告"
,
description
=
"修改公告"
)
@Parameters
({
@Parameter
(
name
=
"businessId"
,
description
=
"businessId"
,
required
=
false
)})
...
...
@@ -78,7 +78,7 @@ public class CmsNoticeController extends CyPaginationController<CmsNotice> {
cmsNotice
);
}
// @PreAuthorize("@cyPerm.hasPerm('cms:notice:singleSearch
')")
@PreAuthorize
(
"@cyPerm.hasPerm('cms:notice:query
')"
)
@CyOpeLogAnno
(
title
=
"system-公告管理-查询公告"
,
businessType
=
CyLogTypeEnum
.
QUERY
)
@Operation
(
summary
=
"查询单一公告"
,
description
=
"查询单一公告"
)
@Parameters
({
@Parameter
(
name
=
"businessId"
,
description
=
"businessId"
,
required
=
true
)})
...
...
@@ -90,7 +90,7 @@ public class CmsNoticeController extends CyPaginationController<CmsNotice> {
cmsNoticeServiceImpl
.
findById
(
businessId
));
}
//
@PreAuthorize("@cyPerm.hasPerm('sys:contentNewsInformation:list')")
@PreAuthorize
(
"@cyPerm.hasPerm('sys:contentNewsInformation:list')"
)
@CyOpeLogAnno
(
title
=
"system-公告管理-查询公告"
,
businessType
=
CyLogTypeEnum
.
QUERY
)
@Operation
(
summary
=
"查询公告集合"
,
description
=
"查询公告集合"
)
...
...
@@ -102,7 +102,7 @@ public class CmsNoticeController extends CyPaginationController<CmsNotice> {
cmsNoticeServiceImpl
.
findAll
(
cmsNotice
));
}
// @PreAuthorize("@cyPerm.hasPerm('cms:notice:pageSearch
')")
@PreAuthorize
(
"@cyPerm.hasPerm('cms:notice:query
')"
)
@CyOpeLogAnno
(
title
=
"system-公告管理-查询公告"
,
businessType
=
CyLogTypeEnum
.
QUERY
)
@Operation
(
summary
=
"分页查询公告集合"
,
description
=
"分页查询公告集合"
)
@GetMapping
(
value
=
"/queryCmsNoticeByPagination"
)
...
...
@@ -112,7 +112,7 @@ public class CmsNoticeController extends CyPaginationController<CmsNotice> {
}
//修改状态
@PreAuthorize
(
"@cyPerm.hasPerm('cms:notice:
modificationsStatus
')"
)
@PreAuthorize
(
"@cyPerm.hasPerm('cms:notice:
update
')"
)
@CyOpeLogAnno
(
title
=
"system-公告管理-修改公告状态"
,
businessType
=
CyLogTypeEnum
.
UPDATE
)
@Operation
(
summary
=
"修改公告状态"
,
description
=
"修改公告状态"
)
@Parameters
({
@Parameter
(
name
=
"businessId"
,
description
=
"businessId"
,
required
=
true
)})
...
...
@@ -124,7 +124,7 @@ public class CmsNoticeController extends CyPaginationController<CmsNotice> {
CyMessCons
.
MESSAGE_ALERT_ERROR
,
cmsNotice
);
}
@PreAuthorize
(
"@cyPerm.hasPerm('cms:notice:
derive
')"
)
@PreAuthorize
(
"@cyPerm.hasPerm('cms:notice:
export
')"
)
@CyOpeLogAnno
(
title
=
"system-公告管理-查询公告"
,
businessType
=
CyLogTypeEnum
.
EXPORT
)
@Operation
(
summary
=
"导出公告信息"
,
description
=
"导出公告信息"
)
@GetMapping
(
value
=
"/export"
)
...
...
src/main/java/org/rcisoft/business/cmsOrder/controller/CmsOrderController.java
View file @
82a00cba
...
...
@@ -108,7 +108,7 @@ public class CmsOrderController extends CyPaginationController<CmsOrder> {
cmsOrderServiceImpl
.
findById
(
businessId
));
}
//
@PreAuthorize("@cyPerm.hasPerm('sys:order:list')")
@PreAuthorize
(
"@cyPerm.hasPerm('sys:order:list')"
)
@CyOpeLogAnno
(
title
=
"system-订单信息表管理-查询订单信息表"
,
businessType
=
CyLogTypeEnum
.
QUERY
)
@Operation
(
summary
=
"查询订单信息表集合"
,
description
=
"查询订单信息表集合"
)
@GetMapping
(
value
=
"/listAll"
)
...
...
@@ -128,6 +128,7 @@ public class CmsOrderController extends CyPaginationController<CmsOrder> {
return
getGridModelResponse
();
}
@PreAuthorize
(
"@cyPerm.hasPerm('sys:order:export')"
)
@CyOpeLogAnno
(
title
=
"system-订单信息表管理-查询订单信息表"
,
businessType
=
CyLogTypeEnum
.
EXPORT
)
@Operation
(
summary
=
"导出订单信息表信息"
,
description
=
"导出订单信息表信息"
)
@GetMapping
(
value
=
"/export"
)
...
...
@@ -142,6 +143,7 @@ public class CmsOrderController extends CyPaginationController<CmsOrder> {
CyEpExcelUtil
.
exportExcel
(
cmsOrderList
,
"订单信息表信息"
,
"订单信息表信息"
,
CmsOrder
.
class
,
excelName
,
response
);
}
@PreAuthorize
(
"@cyPerm.hasPerm('sys:order:update')"
)
@CyOpeLogAnno
(
title
=
"system-订单管理-退款确认"
,
businessType
=
CyLogTypeEnum
.
UPDATE
)
@Operation
(
summary
=
"退款确认"
,
description
=
"退款确认"
)
@PostMapping
(
value
=
"/order/refundConfirm"
)
...
...
@@ -152,6 +154,7 @@ public class CmsOrderController extends CyPaginationController<CmsOrder> {
cmsOrderServiceImpl
.
refundConfirm
(
orderInfo
));
}
@PreAuthorize
(
"@cyPerm.hasPerm('sys:order:update')"
)
@CyOpeLogAnno
(
title
=
"system-订单管理-支付确认"
,
businessType
=
CyLogTypeEnum
.
UPDATE
)
@Operation
(
summary
=
"支付确认"
,
description
=
"支付确认"
)
@PostMapping
(
value
=
"/order/payConfirm"
)
...
...
@@ -164,6 +167,7 @@ public class CmsOrderController extends CyPaginationController<CmsOrder> {
@PreAuthorize
(
"@cyPerm.hasPerm('sys:order:update')"
)
@CyOpeLogAnno
(
title
=
"system-订单管理-活动退款补偿"
,
businessType
=
CyLogTypeEnum
.
UPDATE
)
@Operation
(
summary
=
"活动退款补偿"
,
description
=
"活动退款补偿"
)
@GetMapping
(
value
=
"/refundReimbursement"
)
...
...
@@ -177,6 +181,7 @@ public class CmsOrderController extends CyPaginationController<CmsOrder> {
/**
* 查询异常订单[根据搜索条件,时间范围跨度3个月,时间最早支持30天前)
*/
@PreAuthorize
(
"@cyPerm.hasPerm('sys:order:list')"
)
@Operation
(
summary
=
"查询异常订单列表"
,
description
=
"查询异常订单列表"
)
@GetMapping
(
"/selectErrorOrderByPagination"
)
public
CyGridModel
selectErrorOrderByPagination
(
CmsOrder
orderInfo
)
...
...
@@ -186,6 +191,7 @@ public class CmsOrderController extends CyPaginationController<CmsOrder> {
}
@PreAuthorize
(
"@cyPerm.hasPerm('sys:order:update')"
)
@CyOpeLogAnno
(
title
=
"system-订单管理-异常订单手动补偿"
,
businessType
=
CyLogTypeEnum
.
UPDATE
)
@Operation
(
summary
=
"异常订单手动补偿"
,
description
=
"异常订单手动补偿"
)
@PostMapping
(
value
=
"/manualCompensateOrder"
)
...
...
src/main/java/org/rcisoft/business/memInfo/controller/MemInfoController.java
View file @
82a00cba
...
...
@@ -148,6 +148,7 @@ public class MemInfoController extends CyPaginationController<MemInfo> {
CyEpExcelUtil
.
exportExcel
(
memInfoList
,
"会员表信息"
,
"会员表信息"
,
MemInfo
.
class
,
excelName
,
response
);
}
@PreAuthorize
(
"@cyPerm.hasPerm('mem:info:check')"
)
@CyOpeLogAnno
(
title
=
"system-会员表管理-校验手机号"
,
businessType
=
CyLogTypeEnum
.
INSERT
)
@Operation
(
summary
=
"校验手机号"
,
description
=
"校验手机号"
)
@PostMapping
(
value
=
"/checkInfo"
)
...
...
@@ -178,6 +179,7 @@ public class MemInfoController extends CyPaginationController<MemInfo> {
/*
* 查询会员人数、实名人数、报名人数、文章数
*/
@PreAuthorize
(
"@cyPerm.hasPerm('mem:info:list')"
)
@GetMapping
(
value
=
"/getPeopleNumber"
)
public
CyResult
getPeopleNumber
(
peopleNumberDTO
peopleNumberDTO
)
{
return
CyResultGenUtil
.
genSuccessResult
(
memInfoServiceImpl
.
getPeopleNumber
(
peopleNumberDTO
));
...
...
@@ -186,6 +188,7 @@ public class MemInfoController extends CyPaginationController<MemInfo> {
/**
* 查询文章审核
*/
@PreAuthorize
(
"@cyPerm.hasPerm('mem:info:list')"
)
@GetMapping
(
value
=
"/getArticle"
)
public
CyResult
getArticle
(
ArticleExamStatus
articleExamStatus
)
{
return
CyResultGenUtil
.
genSuccessResult
(
memInfoServiceImpl
.
getArticle
(
articleExamStatus
));
...
...
src/main/java/org/rcisoft/business/opmArticle/controller/OpmArticleController.java
View file @
82a00cba
...
...
@@ -38,7 +38,7 @@ public class OpmArticleController extends CyPaginationController<OpmArticle> {
@Autowired
private
OpmArticleService
opmArticleServiceImpl
;
@PreAuthorize
(
"@cyPerm.hasPerm('cms:opmArticle:
increase
')"
)
@PreAuthorize
(
"@cyPerm.hasPerm('cms:opmArticle:
add
')"
)
@CyOpeLogAnno
(
title
=
"system-opmArticle管理管理-新增opmArticle管理"
,
businessType
=
CyLogTypeEnum
.
INSERT
)
@Operation
(
summary
=
"添加opmArticle管理"
,
description
=
"添加opmArticle管理"
)
@PostMapping
(
value
=
"/add"
)
...
...
@@ -49,7 +49,7 @@ public class OpmArticleController extends CyPaginationController<OpmArticle> {
CyMessCons
.
MESSAGE_ALERT_ERROR
,
opmArticle
);
}
@PreAuthorize
(
"@cyPerm.hasPerm('cms:opmArticle:
removing
')"
)
@PreAuthorize
(
"@cyPerm.hasPerm('cms:opmArticle:
delete
')"
)
@CyOpeLogAnno
(
title
=
"system-opmArticle管理管理-删除opmArticle管理"
,
businessType
=
CyLogTypeEnum
.
DELETE
)
@Operation
(
summary
=
"逻辑删除opmArticle管理"
,
description
=
"逻辑删除opmArticle管理"
)
@Parameters
({
@Parameter
(
name
=
"businessId"
,
description
=
"businessId"
,
required
=
true
)})
...
...
@@ -62,7 +62,7 @@ public class OpmArticleController extends CyPaginationController<OpmArticle> {
CyMessCons
.
MESSAGE_ALERT_ERROR
,
businessId
);
}
//
@PreAuthorize("@cyPerm.hasPerm('sys:opmArticle:delete')")
@PreAuthorize
(
"@cyPerm.hasPerm('sys:opmArticle:delete')"
)
@CyOpeLogAnno
(
title
=
"system-opmArticle管理管理-删除opmArticle管理"
,
businessType
=
CyLogTypeEnum
.
DELETE
)
@Operation
(
summary
=
"删除opmArticle管理"
,
description
=
"删除opmArticle管理"
)
@Parameters
({
@Parameter
(
name
=
"businessId"
,
description
=
"businessId"
,
required
=
true
)})
...
...
@@ -76,7 +76,7 @@ public class OpmArticleController extends CyPaginationController<OpmArticle> {
businessId
);
}
@PreAuthorize
(
"@cyPerm.hasPerm('cms:opmArticle:
modifications
')"
)
@PreAuthorize
(
"@cyPerm.hasPerm('cms:opmArticle:
update
')"
)
@CyOpeLogAnno
(
title
=
"system-opmArticle管理管理-修改opmArticle管理"
,
businessType
=
CyLogTypeEnum
.
UPDATE
)
@Operation
(
summary
=
"修改opmArticle管理"
,
description
=
"修改opmArticle管理"
)
@Parameters
({
@Parameter
(
name
=
"businessId"
,
description
=
"businessId"
,
required
=
false
)})
...
...
@@ -90,7 +90,7 @@ public class OpmArticleController extends CyPaginationController<OpmArticle> {
opmArticle
);
}
@PreAuthorize
(
"@cyPerm.hasPerm('cms:opmArticle:
singleSearch
')"
)
@PreAuthorize
(
"@cyPerm.hasPerm('cms:opmArticle:
detail
')"
)
@CyOpeLogAnno
(
title
=
"system-opmArticle管理管理-查询opmArticle管理"
,
businessType
=
CyLogTypeEnum
.
QUERY
)
@Operation
(
summary
=
"查询单一opmArticle管理"
,
description
=
"查询单一opmArticle管理"
)
@Parameters
({
@Parameter
(
name
=
"businessId"
,
description
=
"businessId"
,
required
=
true
)})
...
...
@@ -102,7 +102,7 @@ public class OpmArticleController extends CyPaginationController<OpmArticle> {
opmArticleServiceImpl
.
findById
(
businessId
));
}
@PreAuthorize
(
"@cyPerm.hasPerm('cms:opmArticle:
search
')"
)
@PreAuthorize
(
"@cyPerm.hasPerm('cms:opmArticle:
query
')"
)
@CyOpeLogAnno
(
title
=
"system-opmArticle管理管理-查询opmArticle管理"
,
businessType
=
CyLogTypeEnum
.
QUERY
)
@Operation
(
summary
=
"查询opmArticle管理集合"
,
description
=
"查询opmArticle管理集合"
)
@GetMapping
(
value
=
"/queryOpmArticle"
)
...
...
@@ -113,7 +113,7 @@ public class OpmArticleController extends CyPaginationController<OpmArticle> {
opmArticleServiceImpl
.
findAll
(
opmArticle
));
}
// @PreAuthorize("@cyPerm.hasPerm('cms:opmArticle:pageSearch
')")
@PreAuthorize
(
"@cyPerm.hasPerm('cms:opmArticle:list
')"
)
@CyOpeLogAnno
(
title
=
"system-opmArticle管理管理-查询opmArticle管理"
,
businessType
=
CyLogTypeEnum
.
QUERY
)
@Operation
(
summary
=
"分页查询opmArticle管理集合"
,
description
=
"分页查询opmArticle管理集合"
)
@GetMapping
(
value
=
"/list"
)
...
...
@@ -122,7 +122,7 @@ public class OpmArticleController extends CyPaginationController<OpmArticle> {
return
getGridModelResponse
();
}
@PreAuthorize
(
"@cyPerm.hasPerm('cms:opmArticle:
derive
')"
)
@PreAuthorize
(
"@cyPerm.hasPerm('cms:opmArticle:
export
')"
)
@CyOpeLogAnno
(
title
=
"system-opmArticle管理管理-查询opmArticle管理"
,
businessType
=
CyLogTypeEnum
.
EXPORT
)
@Operation
(
summary
=
"导出opmArticle管理信息"
,
description
=
"导出opmArticle管理信息"
)
@GetMapping
(
value
=
"/export"
)
...
...
@@ -140,7 +140,7 @@ public class OpmArticleController extends CyPaginationController<OpmArticle> {
/**
* 逻辑删除评论
*/
@PreAuthorize
(
"@cyPerm.hasPerm('cms:opmArticle:
removing
')"
)
@PreAuthorize
(
"@cyPerm.hasPerm('cms:opmArticle:
delete
')"
)
@DeleteMapping
(
"/deleteComment/{businessId:\\w+}"
)
public
CyResult
deleteComment
(
@PathVariable
String
businessId
,
OpmArticle
opmArticle
)
{
opmArticle
.
setBusinessId
(
Integer
.
valueOf
(
businessId
));
...
...
@@ -155,6 +155,7 @@ public class OpmArticleController extends CyPaginationController<OpmArticle> {
/**
* 动态点赞
*/
@PreAuthorize
(
"@cyPerm.hasPerm('cms:opmArticle:add')"
)
@PostMapping
(
"/like"
)
public
CyResult
likeAdd
(
String
articleId
,
String
praiseType
)
{
CyPersistModel
data
=
opmArticleServiceImpl
.
likeAdd
(
articleId
,
praiseType
);
...
...
src/main/java/org/rcisoft/business/opmTopic/controller/OpmTopicController.java
View file @
82a00cba
...
...
@@ -37,7 +37,7 @@ public class OpmTopicController extends CyPaginationController<OpmTopic> {
@Autowired
private
OpmTopicService
opmTopicServiceImpl
;
@PreAuthorize
(
"@cyPerm.hasPerm('opm:topic:
increase
')"
)
@PreAuthorize
(
"@cyPerm.hasPerm('opm:topic:
add
')"
)
@CyOpeLogAnno
(
title
=
"system-话题管理-新增话题"
,
businessType
=
CyLogTypeEnum
.
INSERT
)
@Operation
(
summary
=
"添加话题"
,
description
=
"添加话题"
)
@PostMapping
(
value
=
"/add"
)
...
...
@@ -49,7 +49,7 @@ public class OpmTopicController extends CyPaginationController<OpmTopic> {
opmTopic
);
}
@PreAuthorize
(
"@cyPerm.hasPerm('opm:topic:
removing
')"
)
@PreAuthorize
(
"@cyPerm.hasPerm('opm:topic:
delete
')"
)
@CyOpeLogAnno
(
title
=
"system-话题管理-删除话题"
,
businessType
=
CyLogTypeEnum
.
DELETE
)
@Operation
(
summary
=
"删除话题"
,
description
=
"删除话题"
)
@Parameters
({
@Parameter
(
name
=
"businessId"
,
description
=
"businessId"
,
required
=
true
)})
...
...
@@ -63,7 +63,7 @@ public class OpmTopicController extends CyPaginationController<OpmTopic> {
businessId
);
}
@PreAuthorize
(
"@cyPerm.hasPerm('opm:topic:
modifications
')"
)
@PreAuthorize
(
"@cyPerm.hasPerm('opm:topic:
update
')"
)
@CyOpeLogAnno
(
title
=
"system-话题管理-修改话题"
,
businessType
=
CyLogTypeEnum
.
INSERT
)
@Operation
(
summary
=
"修改话题"
,
description
=
"修改话题"
)
@Parameters
({
@Parameter
(
name
=
"businessId"
,
description
=
"businessId"
,
required
=
false
)})
...
...
@@ -77,7 +77,7 @@ public class OpmTopicController extends CyPaginationController<OpmTopic> {
opmTopic
);
}
// @PreAuthorize("@cyPerm.hasPerm('opm:notice:singleSearch
')")
@PreAuthorize
(
"@cyPerm.hasPerm('opm:topic:detail
')"
)
@CyOpeLogAnno
(
title
=
"system-话题管理-查询话题"
,
businessType
=
CyLogTypeEnum
.
QUERY
)
@Operation
(
summary
=
"查询单一话题"
,
description
=
"查询单一话题"
)
@Parameters
({
@Parameter
(
name
=
"businessId"
,
description
=
"businessId"
,
required
=
true
)})
...
...
@@ -89,7 +89,7 @@ public class OpmTopicController extends CyPaginationController<OpmTopic> {
opmTopicServiceImpl
.
findById
(
businessId
));
}
//@PreAuthorize("@cyPerm.hasPerm('sys:contentNewsInformation
:list')")
@PreAuthorize
(
"@cyPerm.hasPerm('sys:topic
:list')"
)
@CyOpeLogAnno
(
title
=
"system-话题管理-查询话题"
,
businessType
=
CyLogTypeEnum
.
QUERY
)
@Operation
(
summary
=
"查询话题集合"
,
description
=
"查询话题集合"
)
@GetMapping
(
value
=
"/queryAllOpmTopic"
)
...
...
@@ -100,7 +100,7 @@ public class OpmTopicController extends CyPaginationController<OpmTopic> {
opmTopicServiceImpl
.
findAll
(
opmTopic
));
}
// @PreAuthorize("@cyPerm.hasPerm('opm:topic:pageSearch
')")
@PreAuthorize
(
"@cyPerm.hasPerm('opm:topic:query
')"
)
@CyOpeLogAnno
(
title
=
"system-话题管理-查询话题"
,
businessType
=
CyLogTypeEnum
.
QUERY
)
@Operation
(
summary
=
"分页查询话题集合"
,
description
=
"分页查询话题集合"
)
@GetMapping
(
value
=
"/queryOpmTopicByPagination"
)
...
...
@@ -110,7 +110,7 @@ public class OpmTopicController extends CyPaginationController<OpmTopic> {
}
//修改状态
@PreAuthorize
(
"@cyPerm.hasPerm('opm:topic:
modificationsStatus
')"
)
@PreAuthorize
(
"@cyPerm.hasPerm('opm:topic:
update
')"
)
@CyOpeLogAnno
(
title
=
"system-话题管理-修改话题状态"
,
businessType
=
CyLogTypeEnum
.
UPDATE
)
@Operation
(
summary
=
"修改话题状态"
,
description
=
"修改话题状态"
)
@Parameters
({
@Parameter
(
name
=
"businessId"
,
description
=
"businessId"
,
required
=
true
)})
...
...
@@ -125,6 +125,7 @@ public class OpmTopicController extends CyPaginationController<OpmTopic> {
//修改审核状态
@PreAuthorize
(
"@cyPerm.hasPerm('opm:topic:update')"
)
@CyOpeLogAnno
(
title
=
"system-话题管理-修改话题状态"
,
businessType
=
CyLogTypeEnum
.
UPDATE
)
@Operation
(
summary
=
"修改话题状态"
,
description
=
"修改话题状态"
)
@Parameters
({
@Parameter
(
name
=
"businessId"
,
description
=
"businessId"
,
required
=
true
)})
...
...
@@ -137,6 +138,7 @@ public class OpmTopicController extends CyPaginationController<OpmTopic> {
opmTopic
);
}
//修改审核状态
@PreAuthorize
(
"@cyPerm.hasPerm('opm:topic:update')"
)
@CyOpeLogAnno
(
title
=
"system-话题管理-修改话题状态"
,
businessType
=
CyLogTypeEnum
.
UPDATE
)
@Operation
(
summary
=
"修改话题状态"
,
description
=
"修改话题状态"
)
@Parameters
({
@Parameter
(
name
=
"businessId"
,
description
=
"businessId"
,
required
=
true
)})
...
...
@@ -148,7 +150,7 @@ public class OpmTopicController extends CyPaginationController<OpmTopic> {
CyMessCons
.
MESSAGE_ALERT_ERROR
,
opmTopic
);
}
@PreAuthorize
(
"@cyPerm.hasPerm('opm:topic:
derive
')"
)
@PreAuthorize
(
"@cyPerm.hasPerm('opm:topic:
export
')"
)
@CyOpeLogAnno
(
title
=
"system-话题管理-查询话题"
,
businessType
=
CyLogTypeEnum
.
EXPORT
)
@Operation
(
summary
=
"导出话题信息"
,
description
=
"导出话题信息"
)
@GetMapping
(
value
=
"/export"
)
...
...
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