| | |
| | | |
| | | import com.doumee.config.annotation.EncryptionReq; |
| | | import com.doumee.config.annotation.EncryptionResp; |
| | | import com.doumee.core.constants.Constants; |
| | | import com.doumee.core.constants.ResponseStatus; |
| | | import com.doumee.core.exception.BusinessException; |
| | | import com.doumee.core.model.ApiResponse; |
| | |
| | | import com.doumee.core.model.PageWrap; |
| | | import com.doumee.dao.business.model.Carousel; |
| | | import com.doumee.dao.business.model.Information; |
| | | import com.doumee.dao.web.vo.CategoryVO; |
| | | import com.doumee.dao.vo.FootDataVO; |
| | | import com.doumee.service.business.CarouselService; |
| | | import com.doumee.service.business.InformationService; |
| | | import io.swagger.annotations.Api; |
| | |
| | | @ApiOperation("咨询信息 - 分页查询") |
| | | @PostMapping("/informationPage") |
| | | public ApiResponse<PageData<Information>> findPage (@RequestBody PageWrap<Information> pageWrap) { |
| | | pageWrap.getModel().setStatus(Constants.ZERO); |
| | | return ApiResponse.success(informationService.findPage(pageWrap)); |
| | | } |
| | | |
| | |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | @ApiOperation("获取foot配置") |
| | | @GetMapping("/getFoodDataVO") |
| | | public ApiResponse<FootDataVO> getFoodDataVO() { |
| | | return ApiResponse.success(carouselService.getFoodDataVO()); |
| | | } |
| | | |
| | | |
| | | |