From 90437fdd1fa974cb41af9a9e617a9ddcd587110c Mon Sep 17 00:00:00 2001 From: 199901012 Date: Mon, 29 Mar 2021 00:23:07 +0800 Subject: [PATCH] =?UTF-8?q?'=E4=BF=AE=E5=A4=8D=E5=B7=B2=E7=9F=A5=E9=97=AE?= =?UTF-8?q?=E9=A2=98'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...cController.java => HighGoldRecController.java} | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) rename hai-cweb/src/main/java/com/cweb/controller/{highGoldRecController.java => HighGoldRecController.java} (85%) diff --git a/hai-cweb/src/main/java/com/cweb/controller/highGoldRecController.java b/hai-cweb/src/main/java/com/cweb/controller/HighGoldRecController.java similarity index 85% rename from hai-cweb/src/main/java/com/cweb/controller/highGoldRecController.java rename to hai-cweb/src/main/java/com/cweb/controller/HighGoldRecController.java index 7fad97da..96172d8f 100644 --- a/hai-cweb/src/main/java/com/cweb/controller/highGoldRecController.java +++ b/hai-cweb/src/main/java/com/cweb/controller/HighGoldRecController.java @@ -5,7 +5,6 @@ import com.github.pagehelper.PageInfo; import com.hai.common.security.SessionObject; import com.hai.common.security.UserCenter; import com.hai.common.utils.ResponseMsgUtil; -import com.hai.entity.BsCompany; import com.hai.model.HighUserModel; import com.hai.model.ResponseData; import com.hai.service.HighGoldRecService; @@ -31,11 +30,11 @@ import java.util.Map; * @Date: 2021/3/28 23:54 */ @Controller -@RequestMapping(value = "/coupon") +@RequestMapping(value = "/highGoldRec") @Api(value = "卡卷接口") -public class highGoldRecController { +public class HighGoldRecController { - private static Logger log = LoggerFactory.getLogger(highGoldRecController.class); + private static Logger log = LoggerFactory.getLogger(HighGoldRecController.class); @Autowired private UserCenter userCenter; @@ -43,10 +42,10 @@ public class highGoldRecController { @Resource private HighGoldRecService highGoldRecService; - @RequestMapping(value="/getCouponList",method = RequestMethod.GET) + @RequestMapping(value="/getUserGoldRecList",method = RequestMethod.GET) @ResponseBody - @ApiOperation(value = "卡卷列表") - public ResponseData getCouponList(@RequestParam(name = "goldType", required = true) Integer goldType, + @ApiOperation(value = "获取用户金币使用情况") + public ResponseData getUserGoldRecList(@RequestParam(name = "goldType", required = true) Integer goldType, @RequestParam(name = "pageNum", required = true) Integer pageNum, @RequestParam(name = "pageSize", required = true) Integer pageSize, HttpServletRequest request) { @@ -67,4 +66,5 @@ public class highGoldRecController { return ResponseMsgUtil.exception(e); } } + }