| | |
| | | import com.xcong.excoin.common.controller.BaseController;
|
| | | import com.xcong.excoin.common.entity.FebsResponse;
|
| | | import com.xcong.excoin.common.entity.QueryRequest;
|
| | | import com.xcong.excoin.modules.systemSetting.entity.AppVersionEntity;
|
| | | import com.xcong.excoin.modules.systemSetting.entity.PlatformBannerEntity;
|
| | | import com.xcong.excoin.modules.systemSetting.entity.PlatformNoticeEntity;
|
| | | import com.xcong.excoin.modules.systemSetting.entity.PlatformSymbolsSkuEntity;
|
| | |
| | | systemSettingService.noticeManageAdds(platformNoticeEntity);
|
| | | return new FebsResponse().success();
|
| | | }
|
| | | |
| | | /**
|
| | | * 版本管理---列表
|
| | | */
|
| | | @GetMapping("appVersionManage")
|
| | | public FebsResponse appVersionManage(AppVersionEntity appVersionEntity, QueryRequest request) {
|
| | | Map<String, Object> data = getDataTable(systemSettingService.findAppVersionEntityInPage(appVersionEntity, request));
|
| | | return new FebsResponse().success().data(data);
|
| | | }
|
| | | |
| | | /**
|
| | | * 版本管理---确认
|
| | | */
|
| | | @PostMapping("appVersionConfirm")
|
| | | @ControllerEndpoint(operation = "版本管理---确认", exceptionMessage = "设置失败")
|
| | | public FebsResponse appVersionConfirm(@Valid AppVersionEntity appVersionEntity) {
|
| | | return systemSettingService.appVersionConfirm(appVersionEntity);
|
| | | }
|
| | | |
| | | /**
|
| | | * 版本管理---删除
|
| | | */
|
| | | @GetMapping("appVersionDelete/{id}")
|
| | | @ControllerEndpoint(operation = "版本管理---删除", exceptionMessage = "删除失败")
|
| | | public FebsResponse appVersionDelete(@NotNull(message = "{required}") @PathVariable Long id) {
|
| | | return systemSettingService.appVersionDelete(id);
|
| | | }
|
| | | |
| | | /**
|
| | | * 版本管理---新增
|
| | | */
|
| | | @PostMapping("appVersionAdds")
|
| | | @ControllerEndpoint(operation = "版本管理---新增", exceptionMessage = "新增失败")
|
| | | public FebsResponse appVersionAdds(@Valid AppVersionEntity appVersionEntity) {
|
| | | systemSettingService.appVersionAdds(appVersionEntity);
|
| | | return new FebsResponse().success();
|
| | | }
|
| | |
|
| | | }
|