From cf200a1f92c01ba22c326c49391f748ffb006910 Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Mon, 05 Jul 2021 17:28:35 +0800
Subject: [PATCH] 20210617  开售开关

---
 src/main/java/com/xcong/excoin/modules/systemSetting/controller/SystemSettingController.java |   77 ++++++++++++++++++++++++++++++++++++++
 1 files changed, 77 insertions(+), 0 deletions(-)

diff --git a/src/main/java/com/xcong/excoin/modules/systemSetting/controller/SystemSettingController.java b/src/main/java/com/xcong/excoin/modules/systemSetting/controller/SystemSettingController.java
index 4116fe7..be4e349 100644
--- a/src/main/java/com/xcong/excoin/modules/systemSetting/controller/SystemSettingController.java
+++ b/src/main/java/com/xcong/excoin/modules/systemSetting/controller/SystemSettingController.java
@@ -16,6 +16,8 @@
 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.CommonConfigurationEntity;
 import com.xcong.excoin.modules.systemSetting.entity.PlatformBannerEntity;
 import com.xcong.excoin.modules.systemSetting.entity.PlatformNoticeEntity;
 import com.xcong.excoin.modules.systemSetting.entity.PlatformSymbolsSkuEntity;
@@ -31,6 +33,44 @@
 public class SystemSettingController extends BaseController{
 	
 	private final SystemSettingService systemSettingService;
+	
+	/**
+     *类别设置表---列表
+     */
+    @GetMapping("commonConfiguration")
+    public FebsResponse commonConfiguration(CommonConfigurationEntity commonConfigurationEntity, QueryRequest request) {
+        Map<String, Object> data = getDataTable(systemSettingService.findCommonConfigurationEntityInPage(commonConfigurationEntity, request));
+        return new FebsResponse().success().data(data);
+    }
+    
+    /**
+     * 类别设置表---新增
+     */
+    @PostMapping("commonConfigurationAdd")
+    @ControllerEndpoint(operation = "类别设置表---新增", exceptionMessage = "新增失败")
+    public FebsResponse commonConfigurationAdd(@Valid CommonConfigurationEntity commonConfigurationEntity) {
+    	systemSettingService.commonConfigurationAdd(commonConfigurationEntity);
+        return new FebsResponse().success();
+    }
+    
+    /**
+     * 类别设置表---删除
+     */
+    @GetMapping("commonConfigurationDelete/{id}")
+    @ControllerEndpoint(operation = "类别设置表---删除", exceptionMessage = "删除失败")
+    public FebsResponse commonConfigurationDelete(@NotNull(message = "{required}") @PathVariable Long id) {
+        return systemSettingService.commonConfigurationDelete(id);
+    }
+    
+    /**
+     *类别设置表---确认
+     * @return
+     */
+    @PostMapping("commonConfigurationUpdate")
+    @ControllerEndpoint(operation = "类别设置表---确认", exceptionMessage = "设置失败")
+    public FebsResponse commonConfigurationUpdate(@Valid CommonConfigurationEntity commonConfigurationEntity) {
+        return systemSettingService.commonConfigurationUpdate(commonConfigurationEntity);
+    }
 	
 	/**
      * 交易设置---列表
@@ -147,5 +187,42 @@
     	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();
+    }
 	
 }

--
Gitblit v1.9.1