From d344e2b6d98c9942bdb9febf5d36886f6acadb0c Mon Sep 17 00:00:00 2001
From: Helius <wangdoubleone@gmail.com>
Date: Tue, 07 Jul 2020 10:04:22 +0800
Subject: [PATCH] modify closing newprice

---
 src/main/java/com/xcong/excoin/modules/platform/controller/PlatformController.java |   30 ++++++++++++++++++++++++++++++
 1 files changed, 30 insertions(+), 0 deletions(-)

diff --git a/src/main/java/com/xcong/excoin/modules/platform/controller/PlatformController.java b/src/main/java/com/xcong/excoin/modules/platform/controller/PlatformController.java
index e8e2774..ccd9d98 100644
--- a/src/main/java/com/xcong/excoin/modules/platform/controller/PlatformController.java
+++ b/src/main/java/com/xcong/excoin/modules/platform/controller/PlatformController.java
@@ -8,7 +8,10 @@
 import org.springframework.web.bind.annotation.RestController;
 
 import com.xcong.excoin.common.response.Result;
+import com.xcong.excoin.modules.platform.service.PlatformBannerService;
+import com.xcong.excoin.modules.platform.service.PlatformNoticeService;
 import com.xcong.excoin.modules.platform.service.PlatformCnyUsdtExchangeService;
+import com.xcong.excoin.modules.platform.service.PlatformPaymentMethodService;
 
 import io.swagger.annotations.Api;
 import io.swagger.annotations.ApiOperation;
@@ -23,6 +26,15 @@
 	
 	@Resource
 	PlatformCnyUsdtExchangeService platformCnyUsdtExchangeService;
+	@Resource
+	PlatformPaymentMethodService platformPaymentMethodService;
+	
+	@Resource
+	PlatformBannerService platformBannerService;
+	
+	@Resource
+	PlatformNoticeService PlatformNoticeService;
+	
 	
 	@ApiOperation(value = "findUsdtCnyExchange", notes = "Cny|Usdt兑换")
 	@GetMapping(value = "/findUsdtCnyExchange")
@@ -31,4 +43,22 @@
 		return platformCnyUsdtExchangeService.findUsdtCnyExchange(type);
 	}
 	
+	@ApiOperation(value = "findAllPaymentMethod", notes = "查询平台收款方式")
+	@GetMapping(value = "/findAllPaymentMethod")
+	public Result findAllPaymentMethod() {
+		return platformPaymentMethodService.findAll();
+	}
+	
+	@ApiOperation(value = "首页轮播图", notes = "首页轮播图")
+	@GetMapping(value = "/findPlatformBannerList")
+	public Result findPlatformBannerList() {
+		return platformBannerService.findAll();
+	}
+	
+	@ApiOperation(value = "首页公告查询", notes = "首页公告查询")
+	@GetMapping(value = "/findPlatformNoticeList")
+	public Result findPlatformNoticeList() {
+		return PlatformNoticeService.findPlatformNoticeList();
+	}
+	
 }

--
Gitblit v1.9.1