| | |
| | | package com.ruoyi.management.controller; |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
| | | import com.ruoyi.common.core.domain.R; |
| | | import com.ruoyi.common.core.web.domain.AjaxResult; |
| | | import com.ruoyi.common.core.web.page.PageInfo; |
| | | import com.ruoyi.common.security.service.TokenService; |
| | | import com.ruoyi.management.domain.TFeedback; |
| | | import com.ruoyi.management.domain.TUseGuide; |
| | | import com.ruoyi.management.dto.FeedbackQuery; |
| | | import com.ruoyi.management.query.UseGuideQuery; |
| | | import com.ruoyi.management.service.ITFeedbackService; |
| | | import com.ruoyi.management.vo.FeedbackVO; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Controller; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.ResponseBody; |
| | | import org.springframework.util.StringUtils; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import java.util.ArrayList; |
| | | import java.util.List; |
| | | |
| | | /** |
| | |
| | | @Autowired |
| | | private ITFeedbackService feedbackService; |
| | | |
| | | @PostMapping("/addFeedBack") |
| | | @ApiOperation(value = "反馈", tags = {"家长端-意见反馈"}) |
| | | public R addFeedBack(@RequestBody TFeedback dto) { |
| | | feedbackService.save(dto); |
| | | return R.ok(); |
| | | } |
| | | |
| | | @ResponseBody |
| | | @PostMapping("/listAll") |