Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
I
ims-ci-test
概览
概览
详情
活动
周期分析
版本库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
问题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
test-ci
ims-ci-test
Commits
7342cf17
提交
7342cf17
authored
5月 25, 2023
作者:
张小凤
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
module(add)
上级
a5a05fb1
隐藏空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
8 行增加
和
8 行删除
+8
-8
ModuleInfoController.java
.../com/mmc/csf/release/controller/ModuleInfoController.java
+8
-8
没有找到文件。
release-service/src/main/java/com/mmc/csf/release/controller/ModuleInfoController.java
浏览文件 @
7342cf17
...
...
@@ -31,7 +31,7 @@ public class ModuleInfoController {
@Autowired
private
ModuleInfoService
moduleInfoService
;
@ApiOperation
(
value
=
"宣传模块-新增"
)
@ApiOperation
(
value
=
"
V1.0.1-
宣传模块-新增"
)
@ApiResponses
({
@ApiResponse
(
code
=
200
,
message
=
"OK"
,
response
=
ResultBody
.
class
)
})
@PostMapping
(
"insertModuleInfo"
)
public
ResultBody
insertModuleInfo
(
@Validated
(
Create
.
class
)
@RequestBody
ModuleInfoVO
moduleInfoVO
)
{
...
...
@@ -45,7 +45,7 @@ public class ModuleInfoController {
return
moduleInfoService
.
updateModuleInfo
(
moduleInfoVO
);
}
@ApiOperation
(
value
=
"删除宣传模块"
)
@ApiOperation
(
value
=
"
V1.0.1-
删除宣传模块"
)
@ApiResponses
({
@ApiResponse
(
code
=
200
,
message
=
"OK"
,
response
=
ResultBody
.
class
)
})
@GetMapping
(
"removeModuleInfo"
)
public
ResultBody
removeModuleInfo
(
@ApiParam
(
value
=
"id"
,
required
=
true
)
@RequestParam
Integer
id
)
{
...
...
@@ -60,7 +60,7 @@ public class ModuleInfoController {
return
moduleInfoService
.
updateModuleInfoRemark
(
id
,
remark
);
}
@ApiOperation
(
value
=
"宣传模块管理-分页"
)
@ApiOperation
(
value
=
"
V1.0.1-
宣传模块管理-分页"
)
@ApiResponses
({
@ApiResponse
(
code
=
200
,
message
=
"OK"
,
response
=
ModuleInfoDTO
.
class
)
})
@PostMapping
(
"listModuleInfoPage"
)
public
ResultBody
<
ModuleInfoDTO
>
listModuleInfoPage
(
...
...
@@ -68,7 +68,7 @@ public class ModuleInfoController {
return
moduleInfoService
.
listModuleInfoPage
(
param
);
}
@ApiOperation
(
value
=
"banner管理-分页"
)
@ApiOperation
(
value
=
"
V1.0.1-
banner管理-分页"
)
@ApiResponses
({
@ApiResponse
(
code
=
200
,
message
=
"OK"
,
response
=
BannerInfoDTO
.
class
)
})
@PostMapping
(
"listBannerInfoPage"
)
public
ResultBody
<
BannerInfoDTO
>
listBannerInfoPage
(
...
...
@@ -83,21 +83,21 @@ public class ModuleInfoController {
return
moduleInfoService
.
removeBannerInfo
(
id
);
}
@ApiOperation
(
value
=
"banner-新增"
)
@ApiOperation
(
value
=
"
V1.0.1-
banner-新增"
)
@ApiResponses
({
@ApiResponse
(
code
=
200
,
message
=
"OK"
,
response
=
ResultBody
.
class
)
})
@PostMapping
(
"insertBannerInfo"
)
public
ResultBody
insertBannerInfo
(
@Validated
(
Create
.
class
)
@RequestBody
BannerInfoVO
bannerInfoVO
)
{
return
moduleInfoService
.
insertBannerInfo
(
bannerInfoVO
);
}
@ApiOperation
(
value
=
"banner-修改"
)
@ApiOperation
(
value
=
"
V1.0.1-
banner-修改"
)
@ApiResponses
({
@ApiResponse
(
code
=
200
,
message
=
"OK"
,
response
=
ResultBody
.
class
)
})
@PostMapping
(
"updateBannerInfo"
)
public
ResultBody
updateBannerInfo
(
@Validated
(
Update
.
class
)
@RequestBody
BannerInfoVO
bannerInfoVO
)
{
return
moduleInfoService
.
updateBannerInfo
(
bannerInfoVO
);
}
@ApiOperation
(
value
=
"banner-排序交换"
)
@ApiOperation
(
value
=
"
V1.0.1-
banner-排序交换"
)
@ApiResponses
({
@ApiResponse
(
code
=
200
,
message
=
"OK"
,
response
=
ResultBody
.
class
)
})
@PostMapping
(
"exchangeBannerInfo"
)
public
ResultBody
exchangeBannerInfo
(
@Validated
(
Others
.
class
)
@RequestBody
List
<
BannerInfoVO
>
list
)
{
...
...
@@ -111,7 +111,7 @@ public class ModuleInfoController {
return
moduleInfoService
.
listBannerImg
(
moduleCode
);
}
@ApiOperation
(
value
=
"banner批量删除"
)
@ApiOperation
(
value
=
"
V1.0.1-
banner批量删除"
)
@ApiResponses
({
@ApiResponse
(
code
=
200
,
message
=
"OK"
,
response
=
ResultBody
.
class
)
})
@PostMapping
(
"batchRemoveBannerInfo"
)
public
ResultBody
batchRemoveBannerInfo
(
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论