From 5013f71d0b9a886de77f936606de061ce1eb2aee Mon Sep 17 00:00:00 2001
From: gao <gaoleox@163>
Date: Wed, 27 May 2020 11:53:28 +0800
Subject: [PATCH] 平台收款方式接口
---
src/main/java/com/xcong/excoin/modules/platform/controller/PlatformController.java | 9 +++++++++
1 files changed, 9 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..767c49f 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
@@ -9,6 +9,7 @@
import com.xcong.excoin.common.response.Result;
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 +24,8 @@
@Resource
PlatformCnyUsdtExchangeService platformCnyUsdtExchangeService;
+ @Resource
+ PlatformPaymentMethodService platformPaymentMethodService;
@ApiOperation(value = "findUsdtCnyExchange", notes = "Cny|Usdt兑换")
@GetMapping(value = "/findUsdtCnyExchange")
@@ -31,4 +34,10 @@
return platformCnyUsdtExchangeService.findUsdtCnyExchange(type);
}
+ @ApiOperation(value = "findAllPaymentMethod", notes = "查询平台收款方式")
+ @GetMapping(value = "/findAllPaymentMethod")
+ public Result findAllPaymentMethod() {
+ return platformPaymentMethodService.findAll();
+ }
+
}
--
Gitblit v1.9.1