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
ec88da62
Commit
ec88da62
authored
Feb 06, 2025
by
liwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改了app端的权限注解
parent
3f8052f1
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
15 additions
and
14 deletions
+15
-14
AppActivityController.java
...oft/app/appActivity/controller/AppActivityController.java
+0
-1
AppOpmArticleController.java
...ft/app/appArticle/controller/AppOpmArticleController.java
+2
-4
AppBannerController.java
...rcisoft/app/appBanner/controller/AppBannerController.java
+0
-1
AppMemInfoController.java
...isoft/app/appMemInfo/controller/AppMemInfoController.java
+9
-4
AppNoticeController.java
...rcisoft/app/appNotice/controller/AppNoticeController.java
+0
-2
AppOpmTopicController.java
...oft/app/appOpmTopic/controller/AppOpmTopicController.java
+0
-1
AppOrderController.java
...g/rcisoft/app/appOrder/controller/AppOrderController.java
+4
-1
No files found.
src/main/java/org/rcisoft/app/appActivity/controller/AppActivityController.java
View file @
ec88da62
...
@@ -36,7 +36,6 @@ public class AppActivityController extends CyPaginationController<CmsActivity> {
...
@@ -36,7 +36,6 @@ public class AppActivityController extends CyPaginationController<CmsActivity> {
/**
/**
* 活动-查看活动详情
* 活动-查看活动详情
*/
*/
@PreAuthorize
(
"@cyPerm.hasPerm('app:activity:detail')"
)
@CyOpeLogAnno
(
title
=
"system-活动管理-查询活动"
,
businessType
=
CyLogTypeEnum
.
QUERY
)
@CyOpeLogAnno
(
title
=
"system-活动管理-查询活动"
,
businessType
=
CyLogTypeEnum
.
QUERY
)
@Operation
(
summary
=
"查询单一活动"
,
description
=
"查询单一活动"
)
@Operation
(
summary
=
"查询单一活动"
,
description
=
"查询单一活动"
)
@Parameters
({
@Parameter
(
name
=
"businessId"
,
description
=
"businessId"
,
required
=
true
)})
@Parameters
({
@Parameter
(
name
=
"businessId"
,
description
=
"businessId"
,
required
=
true
)})
...
...
src/main/java/org/rcisoft/app/appArticle/controller/AppOpmArticleController.java
View file @
ec88da62
...
@@ -54,7 +54,6 @@ public class AppOpmArticleController extends CyPaginationController<OpmArticle>
...
@@ -54,7 +54,6 @@ public class AppOpmArticleController extends CyPaginationController<OpmArticle>
/**
/**
* 动态-动态列表
* 动态-动态列表
*/
*/
@PreAuthorize
(
"@cyPerm.hasPerm('app:article:list')"
)
@CyOpeLogAnno
(
title
=
"system-动态管理-查询动态列表"
,
businessType
=
CyLogTypeEnum
.
QUERY
)
@CyOpeLogAnno
(
title
=
"system-动态管理-查询动态列表"
,
businessType
=
CyLogTypeEnum
.
QUERY
)
@Operation
(
summary
=
"分页查询动态列表集合"
,
description
=
"分页查询动态列表集合"
)
@Operation
(
summary
=
"分页查询动态列表集合"
,
description
=
"分页查询动态列表集合"
)
@GetMapping
(
value
=
"/open/opmArticle/queryArticleByPagination"
)
@GetMapping
(
value
=
"/open/opmArticle/queryArticleByPagination"
)
...
@@ -93,7 +92,6 @@ public class AppOpmArticleController extends CyPaginationController<OpmArticle>
...
@@ -93,7 +92,6 @@ public class AppOpmArticleController extends CyPaginationController<OpmArticle>
commentId
);
commentId
);
}
}
@PreAuthorize
(
"@cyPerm.hasPerm('app:article:detail')"
)
@CyOpeLogAnno
(
title
=
"system-opmArticle管理管理-查询opmArticle管理"
,
businessType
=
CyLogTypeEnum
.
QUERY
)
@CyOpeLogAnno
(
title
=
"system-opmArticle管理管理-查询opmArticle管理"
,
businessType
=
CyLogTypeEnum
.
QUERY
)
@Operation
(
summary
=
"查询单一opmArticle管理"
,
description
=
"查询单一opmArticle管理"
)
@Operation
(
summary
=
"查询单一opmArticle管理"
,
description
=
"查询单一opmArticle管理"
)
@Parameters
({
@Parameter
(
name
=
"businessId"
,
description
=
"businessId"
,
required
=
true
)})
@Parameters
({
@Parameter
(
name
=
"businessId"
,
description
=
"businessId"
,
required
=
true
)})
...
@@ -108,11 +106,11 @@ public class AppOpmArticleController extends CyPaginationController<OpmArticle>
...
@@ -108,11 +106,11 @@ public class AppOpmArticleController extends CyPaginationController<OpmArticle>
/**
/**
* 动态-动态评论
* 动态-动态评论
*/
*/
@PreAuthorize
(
"@cyPerm.hasPerm('app:article:
add
')"
)
@PreAuthorize
(
"@cyPerm.hasPerm('app:article:
comment
')"
)
@CyOpeLogAnno
(
title
=
"system-opmArticle管理管理-新增评论"
,
businessType
=
CyLogTypeEnum
.
INSERT
)
@CyOpeLogAnno
(
title
=
"system-opmArticle管理管理-新增评论"
,
businessType
=
CyLogTypeEnum
.
INSERT
)
@Operation
(
summary
=
"添加动态评论"
,
description
=
"添加动态评论"
)
@Operation
(
summary
=
"添加动态评论"
,
description
=
"添加动态评论"
)
@PostMapping
(
value
=
"/opmArticle/comment"
)
@PostMapping
(
value
=
"/opmArticle/comment"
)
public
CyResult
comment
(
@
Valid
@RequestBody
ArticleCommentDTO
dto
,
BindingResult
bindingResult
)
{
public
CyResult
comment
(
@
RequestBody
ArticleCommentDTO
dto
)
{
CyPersistModel
data
=
opmArticleServiceImpl
.
addComment
(
dto
);
CyPersistModel
data
=
opmArticleServiceImpl
.
addComment
(
dto
);
return
CyResultGenUtil
.
builder
(
data
,
return
CyResultGenUtil
.
builder
(
data
,
CyMessCons
.
MESSAGE_ALERT_SUCCESS
,
CyMessCons
.
MESSAGE_ALERT_SUCCESS
,
...
...
src/main/java/org/rcisoft/app/appBanner/controller/AppBannerController.java
View file @
ec88da62
...
@@ -29,7 +29,6 @@ public class AppBannerController extends CyPaginationController<CmsBanner> {
...
@@ -29,7 +29,6 @@ public class AppBannerController extends CyPaginationController<CmsBanner> {
* 首页-查看banner图
* 首页-查看banner图
* 活动-查看banner图
* 活动-查看banner图
*/
*/
@PreAuthorize
(
"@cyPerm.hasPerm('app:banner:query')"
)
@CyOpeLogAnno
(
title
=
"system-banner管理管理-查询banner管理"
,
businessType
=
CyLogTypeEnum
.
QUERY
)
@CyOpeLogAnno
(
title
=
"system-banner管理管理-查询banner管理"
,
businessType
=
CyLogTypeEnum
.
QUERY
)
@Operation
(
summary
=
"分页查询banner管理集合"
,
description
=
"分页查询banner管理集合"
)
@Operation
(
summary
=
"分页查询banner管理集合"
,
description
=
"分页查询banner管理集合"
)
@GetMapping
(
value
=
"/open/cmsBanner/queryCmsBannerByPagination"
)
@GetMapping
(
value
=
"/open/cmsBanner/queryCmsBannerByPagination"
)
...
...
src/main/java/org/rcisoft/app/appMemInfo/controller/AppMemInfoController.java
View file @
ec88da62
...
@@ -60,7 +60,6 @@ public class AppMemInfoController extends CyPaginationController<MemInfo> {
...
@@ -60,7 +60,6 @@ public class AppMemInfoController extends CyPaginationController<MemInfo> {
@Autowired
@Autowired
private
CyFileStorageService
cyFileStorageService
;
private
CyFileStorageService
cyFileStorageService
;
// @PreAuthorize("@cyPerm.hasPerm('mem:info:add')")
@CyOpeLogAnno
(
title
=
"system-会员表管理-新增会员表"
,
businessType
=
CyLogTypeEnum
.
INSERT
)
@CyOpeLogAnno
(
title
=
"system-会员表管理-新增会员表"
,
businessType
=
CyLogTypeEnum
.
INSERT
)
@Operation
(
summary
=
"添加会员表"
,
description
=
"添加会员表"
)
@Operation
(
summary
=
"添加会员表"
,
description
=
"添加会员表"
)
@PostMapping
(
value
=
"/open/memInfo/add"
)
@PostMapping
(
value
=
"/open/memInfo/add"
)
...
@@ -98,7 +97,6 @@ public class AppMemInfoController extends CyPaginationController<MemInfo> {
...
@@ -98,7 +97,6 @@ public class AppMemInfoController extends CyPaginationController<MemInfo> {
@CyOpeLogAnno
(
title
=
"system-会员表管理-查询会员表"
,
businessType
=
CyLogTypeEnum
.
QUERY
)
@CyOpeLogAnno
(
title
=
"system-会员表管理-查询会员表"
,
businessType
=
CyLogTypeEnum
.
QUERY
)
@Operation
(
summary
=
"分页查询会员表集合"
,
description
=
"分页查询会员表集合"
)
@Operation
(
summary
=
"分页查询会员表集合"
,
description
=
"分页查询会员表集合"
)
@GetMapping
(
value
=
"/open/memInfo/list"
)
@GetMapping
(
value
=
"/open/memInfo/list"
)
// @CyEncryptSm4Anno
public
CyGridModel
listByPagination
(
MemInfo
memInfo
)
{
public
CyGridModel
listByPagination
(
MemInfo
memInfo
)
{
IPage
<
MemInfo
>
memInfoIPage
=
memInfoServiceImpl
.
findAllByPagination
(
getPaginationUtility
(),
memInfo
);
IPage
<
MemInfo
>
memInfoIPage
=
memInfoServiceImpl
.
findAllByPagination
(
getPaginationUtility
(),
memInfo
);
for
(
MemInfo
record
:
memInfoIPage
.
getRecords
())
{
for
(
MemInfo
record
:
memInfoIPage
.
getRecords
())
{
...
@@ -251,7 +249,7 @@ public class AppMemInfoController extends CyPaginationController<MemInfo> {
...
@@ -251,7 +249,7 @@ public class AppMemInfoController extends CyPaginationController<MemInfo> {
}
}
}
}
@PreAuthorize
(
"@cyPerm.hasPerm('app:mem:query')"
)
@CyOpeLogAnno
(
title
=
"system-会员表管理-校验实名认证信息"
,
businessType
=
CyLogTypeEnum
.
UPDATE
)
@CyOpeLogAnno
(
title
=
"system-会员表管理-校验实名认证信息"
,
businessType
=
CyLogTypeEnum
.
UPDATE
)
@Operation
(
summary
=
"校验实名认证信息"
,
description
=
"校验实名认证信息"
)
@Operation
(
summary
=
"校验实名认证信息"
,
description
=
"校验实名认证信息"
)
@Parameters
({
@Parameter
(
name
=
"businessId"
,
description
=
"businessId"
,
required
=
false
,
schema
=
@Schema
(
type
=
"string"
))})
@Parameters
({
@Parameter
(
name
=
"businessId"
,
description
=
"businessId"
,
required
=
false
,
schema
=
@Schema
(
type
=
"string"
))})
...
@@ -269,6 +267,7 @@ public class AppMemInfoController extends CyPaginationController<MemInfo> {
...
@@ -269,6 +267,7 @@ public class AppMemInfoController extends CyPaginationController<MemInfo> {
/**
/**
* 会员基础信息页面-修改个人资料
* 会员基础信息页面-修改个人资料
*/
*/
@PreAuthorize
(
"@cyPerm.hasPerm('app:mem:update')"
)
@CyOpeLogAnno
(
title
=
"system-会员表管理-修改会员表"
,
businessType
=
CyLogTypeEnum
.
UPDATE
)
@CyOpeLogAnno
(
title
=
"system-会员表管理-修改会员表"
,
businessType
=
CyLogTypeEnum
.
UPDATE
)
@Operation
(
summary
=
"修改会员表"
,
description
=
"修改会员表"
)
@Operation
(
summary
=
"修改会员表"
,
description
=
"修改会员表"
)
@Parameters
({
@Parameter
(
name
=
"businessId"
,
description
=
"businessId"
,
required
=
false
,
schema
=
@Schema
(
type
=
"string"
))})
@Parameters
({
@Parameter
(
name
=
"businessId"
,
description
=
"businessId"
,
required
=
false
,
schema
=
@Schema
(
type
=
"string"
))})
...
@@ -285,6 +284,7 @@ public class AppMemInfoController extends CyPaginationController<MemInfo> {
...
@@ -285,6 +284,7 @@ public class AppMemInfoController extends CyPaginationController<MemInfo> {
/**
/**
* 会员详情页面-关注
* 会员详情页面-关注
*/
*/
@PreAuthorize
(
"@cyPerm.hasPerm('app:mem:follow')"
)
@CyOpeLogAnno
(
title
=
"system-会员关注-会员关注"
,
businessType
=
CyLogTypeEnum
.
INSERT
)
@CyOpeLogAnno
(
title
=
"system-会员关注-会员关注"
,
businessType
=
CyLogTypeEnum
.
INSERT
)
@Operation
(
summary
=
"会员关注"
,
description
=
"会员关注"
)
@Operation
(
summary
=
"会员关注"
,
description
=
"会员关注"
)
@PostMapping
(
value
=
"/memInfo/follow"
)
@PostMapping
(
value
=
"/memInfo/follow"
)
...
@@ -300,6 +300,7 @@ public class AppMemInfoController extends CyPaginationController<MemInfo> {
...
@@ -300,6 +300,7 @@ public class AppMemInfoController extends CyPaginationController<MemInfo> {
/**
/**
* 会员详情页面-查看是否关注
* 会员详情页面-查看是否关注
*/
*/
@PreAuthorize
(
"@cyPerm.hasPerm('app:mem:query')"
)
@CyOpeLogAnno
(
title
=
"system-会员关注-查询是否关注"
,
businessType
=
CyLogTypeEnum
.
QUERY
)
@CyOpeLogAnno
(
title
=
"system-会员关注-查询是否关注"
,
businessType
=
CyLogTypeEnum
.
QUERY
)
@Operation
(
summary
=
"查询是否关注"
,
description
=
"查询是否关注"
)
@Operation
(
summary
=
"查询是否关注"
,
description
=
"查询是否关注"
)
@GetMapping
(
value
=
"/memInfo/isFollow"
)
@GetMapping
(
value
=
"/memInfo/isFollow"
)
...
@@ -315,6 +316,7 @@ public class AppMemInfoController extends CyPaginationController<MemInfo> {
...
@@ -315,6 +316,7 @@ public class AppMemInfoController extends CyPaginationController<MemInfo> {
/**
/**
* 会员详情页面-取消关注
* 会员详情页面-取消关注
*/
*/
@PreAuthorize
(
"@cyPerm.hasPerm('app:mem:follow')"
)
@CyOpeLogAnno
(
title
=
"system-会员取消关注-会员取消关注"
,
businessType
=
CyLogTypeEnum
.
INSERT
)
@CyOpeLogAnno
(
title
=
"system-会员取消关注-会员取消关注"
,
businessType
=
CyLogTypeEnum
.
INSERT
)
@Operation
(
summary
=
"会员取消关注"
,
description
=
"会员取消关注"
)
@Operation
(
summary
=
"会员取消关注"
,
description
=
"会员取消关注"
)
@PostMapping
(
value
=
"/memInfo/followDelete"
)
@PostMapping
(
value
=
"/memInfo/followDelete"
)
...
@@ -330,6 +332,7 @@ public class AppMemInfoController extends CyPaginationController<MemInfo> {
...
@@ -330,6 +332,7 @@ public class AppMemInfoController extends CyPaginationController<MemInfo> {
/**
/**
* 会员详情页面-点赞
* 会员详情页面-点赞
*/
*/
@PreAuthorize
(
"@cyPerm.hasPerm('app:mem:like')"
)
@CyOpeLogAnno
(
title
=
"system-会员点赞-会员点赞"
,
businessType
=
CyLogTypeEnum
.
INSERT
)
@CyOpeLogAnno
(
title
=
"system-会员点赞-会员点赞"
,
businessType
=
CyLogTypeEnum
.
INSERT
)
@Operation
(
summary
=
"会员点赞"
,
description
=
"会员点赞"
)
@Operation
(
summary
=
"会员点赞"
,
description
=
"会员点赞"
)
@PostMapping
(
value
=
"/memInfo/like"
)
@PostMapping
(
value
=
"/memInfo/like"
)
...
@@ -359,7 +362,7 @@ public class AppMemInfoController extends CyPaginationController<MemInfo> {
...
@@ -359,7 +362,7 @@ public class AppMemInfoController extends CyPaginationController<MemInfo> {
/**
/**
* 用户详情/我的-留言
* 用户详情/我的-留言
*/
*/
@PreAuthorize
(
"@cyPerm.hasPerm('
mem:leaveMessage:add
')"
)
@PreAuthorize
(
"@cyPerm.hasPerm('
app:mem:leaveMessage
')"
)
@CyOpeLogAnno
(
title
=
"system-会员表管理-留言"
,
businessType
=
CyLogTypeEnum
.
INSERT
)
@CyOpeLogAnno
(
title
=
"system-会员表管理-留言"
,
businessType
=
CyLogTypeEnum
.
INSERT
)
@Operation
(
summary
=
"留言"
,
description
=
"留言"
)
@Operation
(
summary
=
"留言"
,
description
=
"留言"
)
@PostMapping
(
value
=
"/memInfo/leaveMessage"
)
@PostMapping
(
value
=
"/memInfo/leaveMessage"
)
...
@@ -375,6 +378,7 @@ public class AppMemInfoController extends CyPaginationController<MemInfo> {
...
@@ -375,6 +378,7 @@ public class AppMemInfoController extends CyPaginationController<MemInfo> {
/**
/**
* 分页查询留言列表
* 分页查询留言列表
*/
*/
@PreAuthorize
(
"@cyPerm.hasPerm('app:mem:query')"
)
@CyOpeLogAnno
(
title
=
"system-会员表管理-查询留言表"
,
businessType
=
CyLogTypeEnum
.
QUERY
)
@CyOpeLogAnno
(
title
=
"system-会员表管理-查询留言表"
,
businessType
=
CyLogTypeEnum
.
QUERY
)
@Operation
(
summary
=
"分页查询留言列表"
,
description
=
"分页查询留言列表"
)
@Operation
(
summary
=
"分页查询留言列表"
,
description
=
"分页查询留言列表"
)
@GetMapping
(
value
=
"/memInfo/leaveMessageList"
)
@GetMapping
(
value
=
"/memInfo/leaveMessageList"
)
...
@@ -387,6 +391,7 @@ public class AppMemInfoController extends CyPaginationController<MemInfo> {
...
@@ -387,6 +391,7 @@ public class AppMemInfoController extends CyPaginationController<MemInfo> {
/**
/**
* 查询留言列表详情 1对1的
* 查询留言列表详情 1对1的
*/
*/
@PreAuthorize
(
"@cyPerm.hasPerm('app:mem:query')"
)
@CyOpeLogAnno
(
title
=
"system-会员表管理-查询留言详情列表"
,
businessType
=
CyLogTypeEnum
.
QUERY
)
@CyOpeLogAnno
(
title
=
"system-会员表管理-查询留言详情列表"
,
businessType
=
CyLogTypeEnum
.
QUERY
)
@Operation
(
summary
=
"分页查询留言详情列表"
,
description
=
"分页查询留言详情列表"
)
@Operation
(
summary
=
"分页查询留言详情列表"
,
description
=
"分页查询留言详情列表"
)
@GetMapping
(
value
=
"/memInfo/leaveMessageDetailList"
)
@GetMapping
(
value
=
"/memInfo/leaveMessageDetailList"
)
...
...
src/main/java/org/rcisoft/app/appNotice/controller/AppNoticeController.java
View file @
ec88da62
...
@@ -35,7 +35,6 @@ public class AppNoticeController extends CyPaginationController<CmsNotice> {
...
@@ -35,7 +35,6 @@ public class AppNoticeController extends CyPaginationController<CmsNotice> {
/**
/**
* 首页-公告详情页
* 首页-公告详情页
*/
*/
@PreAuthorize
(
"@cyPerm.hasPerm('app:notice:detail')"
)
@CyOpeLogAnno
(
title
=
"system-公告管理-查询公告"
,
businessType
=
CyLogTypeEnum
.
QUERY
)
@CyOpeLogAnno
(
title
=
"system-公告管理-查询公告"
,
businessType
=
CyLogTypeEnum
.
QUERY
)
@Operation
(
summary
=
"查询单一公告"
,
description
=
"查询单一公告"
)
@Operation
(
summary
=
"查询单一公告"
,
description
=
"查询单一公告"
)
@Parameters
({
@Parameter
(
name
=
"businessId"
,
description
=
"businessId"
,
required
=
true
)})
@Parameters
({
@Parameter
(
name
=
"businessId"
,
description
=
"businessId"
,
required
=
true
)})
...
@@ -51,7 +50,6 @@ public class AppNoticeController extends CyPaginationController<CmsNotice> {
...
@@ -51,7 +50,6 @@ public class AppNoticeController extends CyPaginationController<CmsNotice> {
/**
/**
* 首页-查看公告列表
* 首页-查看公告列表
*/
*/
@PreAuthorize
(
"@cyPerm.hasPerm('app:notice:query')"
)
@CyOpeLogAnno
(
title
=
"system-公告管理-查询公告"
,
businessType
=
CyLogTypeEnum
.
QUERY
)
@CyOpeLogAnno
(
title
=
"system-公告管理-查询公告"
,
businessType
=
CyLogTypeEnum
.
QUERY
)
@Operation
(
summary
=
"分页查询公告集合"
,
description
=
"分页查询公告集合"
)
@Operation
(
summary
=
"分页查询公告集合"
,
description
=
"分页查询公告集合"
)
@GetMapping
(
value
=
"/open/cmsNotice/queryCmsNoticeByPagination"
)
@GetMapping
(
value
=
"/open/cmsNotice/queryCmsNoticeByPagination"
)
...
...
src/main/java/org/rcisoft/app/appOpmTopic/controller/AppOpmTopicController.java
View file @
ec88da62
...
@@ -29,7 +29,6 @@ public class AppOpmTopicController extends CyPaginationController<OpmTopic> {
...
@@ -29,7 +29,6 @@ public class AppOpmTopicController extends CyPaginationController<OpmTopic> {
private
OpmTopicService
opmTopicServiceImpl
;
private
OpmTopicService
opmTopicServiceImpl
;
@PreAuthorize
(
"@cyPerm.hasPerm('app:topic:query')"
)
@CyOpeLogAnno
(
title
=
"system-话题管理-查询话题"
,
businessType
=
CyLogTypeEnum
.
QUERY
)
@CyOpeLogAnno
(
title
=
"system-话题管理-查询话题"
,
businessType
=
CyLogTypeEnum
.
QUERY
)
@Operation
(
summary
=
"查询话题集合"
,
description
=
"查询话题集合"
)
@Operation
(
summary
=
"查询话题集合"
,
description
=
"查询话题集合"
)
@GetMapping
(
value
=
"/open/opmTopic/queryAllOpmTopic"
)
@GetMapping
(
value
=
"/open/opmTopic/queryAllOpmTopic"
)
...
...
src/main/java/org/rcisoft/app/appOrder/controller/AppOrderController.java
View file @
ec88da62
...
@@ -31,6 +31,7 @@ import org.rcisoft.core.service.CyFileStorageService;
...
@@ -31,6 +31,7 @@ import org.rcisoft.core.service.CyFileStorageService;
import
org.rcisoft.core.util.CyResultGenUtil
;
import
org.rcisoft.core.util.CyResultGenUtil
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.mock.web.MockMultipartFile
;
import
org.springframework.mock.web.MockMultipartFile
;
import
org.springframework.security.access.prepost.PreAuthorize
;
import
org.springframework.validation.BindingResult
;
import
org.springframework.validation.BindingResult
;
import
org.springframework.web.bind.annotation.*
;
import
org.springframework.web.bind.annotation.*
;
import
org.springframework.web.multipart.MultipartFile
;
import
org.springframework.web.multipart.MultipartFile
;
...
@@ -53,7 +54,7 @@ public class AppOrderController extends CyPaginationController<CmsOrder> {
...
@@ -53,7 +54,7 @@ public class AppOrderController extends CyPaginationController<CmsOrder> {
@Autowired
@Autowired
private
CmsOrderService
cmsOrderServiceImpl
;
private
CmsOrderService
cmsOrderServiceImpl
;
@PreAuthorize
(
"@cyPerm.hasPerm('app:order:add')"
)
@CyOpeLogAnno
(
title
=
"system-订单信息表管理-活动下单"
,
businessType
=
CyLogTypeEnum
.
INSERT
)
@CyOpeLogAnno
(
title
=
"system-订单信息表管理-活动下单"
,
businessType
=
CyLogTypeEnum
.
INSERT
)
@Operation
(
summary
=
"活动下单"
,
description
=
"活动下单"
)
@Operation
(
summary
=
"活动下单"
,
description
=
"活动下单"
)
@PostMapping
(
value
=
"/order/add"
)
@PostMapping
(
value
=
"/order/add"
)
...
@@ -65,6 +66,7 @@ public class AppOrderController extends CyPaginationController<CmsOrder> {
...
@@ -65,6 +66,7 @@ public class AppOrderController extends CyPaginationController<CmsOrder> {
cmsOrder
);
cmsOrder
);
}
}
@PreAuthorize
(
"@cyPerm.hasPerm('app:order:update')"
)
@CyOpeLogAnno
(
title
=
"system-订单管理-活动取消"
,
businessType
=
CyLogTypeEnum
.
UPDATE
)
@CyOpeLogAnno
(
title
=
"system-订单管理-活动取消"
,
businessType
=
CyLogTypeEnum
.
UPDATE
)
@Operation
(
summary
=
"活动取消"
,
description
=
"活动取消"
)
@Operation
(
summary
=
"活动取消"
,
description
=
"活动取消"
)
@PostMapping
(
value
=
"/order/cancel"
)
@PostMapping
(
value
=
"/order/cancel"
)
...
@@ -75,6 +77,7 @@ public class AppOrderController extends CyPaginationController<CmsOrder> {
...
@@ -75,6 +77,7 @@ public class AppOrderController extends CyPaginationController<CmsOrder> {
cmsOrderServiceImpl
.
cancel
(
orderInfo
));
cmsOrderServiceImpl
.
cancel
(
orderInfo
));
}
}
@PreAuthorize
(
"@cyPerm.hasPerm('app:order:query')"
)
@Operation
(
summary
=
"查询会员我的订单列表"
,
description
=
"查询会员我的订单列表"
)
@Operation
(
summary
=
"查询会员我的订单列表"
,
description
=
"查询会员我的订单列表"
)
@GetMapping
(
"/order/selectOrderUserByPagination"
)
@GetMapping
(
"/order/selectOrderUserByPagination"
)
public
CyGridModel
selectOrderUserByPagination
(
CmsOrder
orderInfo
)
public
CyGridModel
selectOrderUserByPagination
(
CmsOrder
orderInfo
)
...
...
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