From b2ec644128294893de349262672658261a78da82 Mon Sep 17 00:00:00 2001
From: gao <gaoleox@163>
Date: Wed, 27 May 2020 16:39:40 +0800
Subject: [PATCH] 查下所有的买卖记录

---
 src/main/java/com/xcong/excoin/modules/home/controller/MemberQuickBuySaleController.java |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/src/main/java/com/xcong/excoin/modules/home/controller/MemberQuickBuySaleController.java b/src/main/java/com/xcong/excoin/modules/home/controller/MemberQuickBuySaleController.java
index 8b7b99a..d172586 100644
--- a/src/main/java/com/xcong/excoin/modules/home/controller/MemberQuickBuySaleController.java
+++ b/src/main/java/com/xcong/excoin/modules/home/controller/MemberQuickBuySaleController.java
@@ -8,6 +8,7 @@
 import org.springframework.web.bind.annotation.RequestBody;
 import org.springframework.web.bind.annotation.RequestMapping;
 import org.springframework.web.bind.annotation.RequestMethod;
+import org.springframework.web.bind.annotation.RequestParam;
 import org.springframework.web.bind.annotation.RestController;
 
 import com.alibaba.druid.util.StringUtils;
@@ -77,6 +78,12 @@
 		return memberQuickBuySaleService.selectById(id);
 	}
 	
+	@ApiOperation(value = "selectAll", notes = "查询用户所有的买卖记录")
+	@GetMapping(value = "/selectAll")
+	public Result selectAll(@RequestParam(value = "type") String type) {
+		return memberQuickBuySaleService.selectAll(type);
+	}
+	
 	@ApiOperation(value = "cancel", notes = "充值撤销")
 	@GetMapping(value = "/cancel/{id}")
 	public Result cancel(@PathVariable(value = "id") Long id) {

--
Gitblit v1.9.1