| | |
| | |
|
| | | 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;
|
| | |
| | |
|
| | | @Resource
|
| | | PlatformCnyUsdtExchangeService platformCnyUsdtExchangeService;
|
| | | @Resource
|
| | | PlatformPaymentMethodService platformPaymentMethodService;
|
| | |
|
| | | @ApiOperation(value = "findUsdtCnyExchange", notes = "Cny|Usdt兑换")
|
| | | @GetMapping(value = "/findUsdtCnyExchange")
|
| | |
| | | return platformCnyUsdtExchangeService.findUsdtCnyExchange(type);
|
| | | }
|
| | |
|
| | | @ApiOperation(value = "findAllPaymentMethod", notes = "查询平台收款方式")
|
| | | @GetMapping(value = "/findAllPaymentMethod")
|
| | | public Result findAllPaymentMethod() {
|
| | | return platformPaymentMethodService.findAll();
|
| | | }
|
| | | |
| | | }
|