'修复已知问题'

dev-discount
199901012 4 years ago
parent 3599b5e2f8
commit 90437fdd1f
  1. 14
      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.SessionObject;
import com.hai.common.security.UserCenter; import com.hai.common.security.UserCenter;
import com.hai.common.utils.ResponseMsgUtil; import com.hai.common.utils.ResponseMsgUtil;
import com.hai.entity.BsCompany;
import com.hai.model.HighUserModel; import com.hai.model.HighUserModel;
import com.hai.model.ResponseData; import com.hai.model.ResponseData;
import com.hai.service.HighGoldRecService; import com.hai.service.HighGoldRecService;
@ -31,11 +30,11 @@ import java.util.Map;
* @Date: 2021/3/28 23:54 * @Date: 2021/3/28 23:54
*/ */
@Controller @Controller
@RequestMapping(value = "/coupon") @RequestMapping(value = "/highGoldRec")
@Api(value = "卡卷接口") @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 @Autowired
private UserCenter userCenter; private UserCenter userCenter;
@ -43,10 +42,10 @@ public class highGoldRecController {
@Resource @Resource
private HighGoldRecService highGoldRecService; private HighGoldRecService highGoldRecService;
@RequestMapping(value="/getCouponList",method = RequestMethod.GET) @RequestMapping(value="/getUserGoldRecList",method = RequestMethod.GET)
@ResponseBody @ResponseBody
@ApiOperation(value = "卡卷列表") @ApiOperation(value = "获取用户金币使用情况")
public ResponseData getCouponList(@RequestParam(name = "goldType", required = true) Integer goldType, public ResponseData getUserGoldRecList(@RequestParam(name = "goldType", required = true) Integer goldType,
@RequestParam(name = "pageNum", required = true) Integer pageNum, @RequestParam(name = "pageNum", required = true) Integer pageNum,
@RequestParam(name = "pageSize", required = true) Integer pageSize, @RequestParam(name = "pageSize", required = true) Integer pageSize,
HttpServletRequest request) { HttpServletRequest request) {
@ -67,4 +66,5 @@ public class highGoldRecController {
return ResponseMsgUtil.exception(e); return ResponseMsgUtil.exception(e);
} }
} }
} }
Loading…
Cancel
Save