From e74838c27c1779c1fd056e40b1e9dad5ff1537d4 Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Thu, 20 Aug 2020 11:39:46 +0800
Subject: [PATCH] 20200820

---
 src/main/java/com/xcong/excoin/modules/helpCenter/controller/HelpCenterController.java |   32 ++++++++++++++++++++++++++++++++
 1 files changed, 32 insertions(+), 0 deletions(-)

diff --git a/src/main/java/com/xcong/excoin/modules/helpCenter/controller/HelpCenterController.java b/src/main/java/com/xcong/excoin/modules/helpCenter/controller/HelpCenterController.java
index b33fbc3..dc34836 100644
--- a/src/main/java/com/xcong/excoin/modules/helpCenter/controller/HelpCenterController.java
+++ b/src/main/java/com/xcong/excoin/modules/helpCenter/controller/HelpCenterController.java
@@ -23,6 +23,7 @@
 import com.xcong.excoin.common.utils.OssUtils;
 import com.xcong.excoin.modules.helpCenter.entity.HelpCenterArticleEntity;
 import com.xcong.excoin.modules.helpCenter.entity.HelpCenterNoticeEntity;
+import com.xcong.excoin.modules.helpCenter.entity.HelpCenterTypeEntity;
 import com.xcong.excoin.modules.helpCenter.service.HelpCenterService;
 import sun.misc.BASE64Encoder;
 
@@ -40,6 +41,37 @@
 	private final HelpCenterService helpCenterService;
 	
 	/**
+     * 帮助中心---类型---删除
+     * @param id
+     * @return
+     */
+    @GetMapping("helpCenterTypeDelete/{id}")
+    @ControllerEndpoint(operation = "删除", exceptionMessage = "删除失败")
+    public FebsResponse helpCenterTypeDelete(@NotNull(message = "{required}") @PathVariable Long id) {
+        return helpCenterService.helpCenterTypeDelete(id);
+    }
+    
+	/**
+     * 帮助中心---类型---新增
+     */
+    @PostMapping("helpCenterTypeAdds")
+    @ControllerEndpoint(operation = " 帮助中心---类型---新增", exceptionMessage = "新增失败")
+    public FebsResponse helpCenterTypeAdds(@Valid HelpCenterTypeEntity helpCenterTypeEntity) {
+    	helpCenterService.helpCenterTypeAdds(helpCenterTypeEntity);
+        return new FebsResponse().success();
+    }
+	
+	/**
+	 *  帮助中心---类型---列表
+	 * @return
+	 */
+	@GetMapping("getHelpCenterTypeList")
+	public FebsResponse getHelpCenterTypeList(HelpCenterTypeEntity helpCenterTypeEntity, QueryRequest request) {
+		Map<String, Object> data = getDataTable(helpCenterService.findHelpCenterTypeListInPage(helpCenterTypeEntity, request));
+		return new FebsResponse().success().data(data);
+	}
+	
+	/**
      *  帮助中心---列表
      * @return
      */

--
Gitblit v1.9.1