Commit ee76f94b6471ff8de19ceebf00a66f06a654d7d2

Authored by liquanyu
1 parent ca850e1095

优惠劵

Showing 1 changed file with 3 additions and 3 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/ReportController.java View file @ ee76f94
... ... @@ -439,12 +439,12 @@
439 439 * @param couponType
440 440 */
441 441 @ResponseBody
442   -// @TokenRequired
  442 + @TokenRequired
443 443 @RequestMapping(value = "/coupon/info/export", method = RequestMethod.GET)
444 444 public void couponInfoExport(HttpServletRequest request, HttpServletResponse response, Date startDate, Date endDate, Integer type,
445 445 String provinceId, String cityId, String areaId, String hospitalId, String tempId, String couponType, Integer exportType) {
446   - Map<String, Object> param = CollectionUtils.createMap("userId", "1000000185", "startDate", startDate,
447   -// Map<String, Object> param = CollectionUtils.createMap("userId", getUserId(request), "startDate", startDate,
  446 +// Map<String, Object> param = CollectionUtils.createMap("userId", "1000000185", "startDate", startDate,
  447 + Map<String, Object> param = CollectionUtils.createMap("userId", getUserId(request), "startDate", startDate,
448 448 "endDate", endDate != null ? DateUtil.addDay(endDate, 1) : endDate, "hospitalId", CollectionUtils.asList(hospitalId), "provinceId", provinceId, "cityId", cityId, "areaId", areaId, "type", type,
449 449 "tempId", tempId, "couponType",couponType, "exportType", exportType);
450 450 reportService.exportCouponInfo(param, response);