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); } } + }