|  |  |  | 
|---|
|  |  |  | import cc.mrbird.febs.common.utils.excl.ExcelVersion; | 
|---|
|  |  |  | import cc.mrbird.febs.common.utils.excl.ResponseHeadUtil; | 
|---|
|  |  |  | import cc.mrbird.febs.mall.dto.AdminHappyActivityCategoryDto; | 
|---|
|  |  |  | import cc.mrbird.febs.mall.dto.AdminMallGoodsCommentDto; | 
|---|
|  |  |  | import cc.mrbird.febs.mall.dto.activity.*; | 
|---|
|  |  |  | import cc.mrbird.febs.mall.entity.HappyActivity; | 
|---|
|  |  |  | import cc.mrbird.febs.mall.entity.HappyActivityOption; | 
|---|
|  |  |  | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | @PostMapping("checkOrder") | 
|---|
|  |  |  | @ControllerEndpoint(operation = "订单-手动核销", exceptionMessage = "操作失败") | 
|---|
|  |  |  | public FebsResponse checkOrder(@RequestBody AdminHappyActivityCheckOrderDto dto) { | 
|---|
|  |  |  | public FebsResponse checkOrder(@RequestBody List<Long> dto) { | 
|---|
|  |  |  |  | 
|---|
|  |  |  | return adminHappyActivityService.checkOrder(dto); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | 
|---|
|  |  |  | return adminHappyActivityService.activityOrderDel(id); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 评论列表 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | @GetMapping("commentList") | 
|---|
|  |  |  | public FebsResponse getCommentList(AdminActivityCommentDto dto, QueryRequest request) { | 
|---|
|  |  |  | Map<String, Object> data = getDataTable(adminHappyActivityService.getCommentListInPage(dto, request)); | 
|---|
|  |  |  | return new FebsResponse().success().data(data); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 评论列表-显示评论 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | @GetMapping("showStateSwitchOn/{id}") | 
|---|
|  |  |  | @ControllerEndpoint(operation = "评论列表-显示评论", exceptionMessage = "设置失败") | 
|---|
|  |  |  | public FebsResponse showStateSwitchOn(@NotNull(message = "{required}") @PathVariable Long id) { | 
|---|
|  |  |  | return adminHappyActivityService.showStateSwitchOn(id); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @SneakyThrows | 
|---|
|  |  |  | @GetMapping("/exportOptionList") | 
|---|
|  |  |  | public void exportOptionList(@RequestParam Map<String, String> params, HttpServletResponse response) { | 
|---|