| | |
| | | import com.panzhihua.common.controller.BaseController; |
| | | import com.panzhihua.common.utlis.DateUtils; |
| | | import com.panzhihua.sangeshenbian.annotation.DistributedLock; |
| | | import com.panzhihua.sangeshenbian.dto.ComplaintReport; |
| | | import com.panzhihua.sangeshenbian.entity.Complaint; |
| | | import com.panzhihua.sangeshenbian.enums.ProcessStatusEnum; |
| | | import com.panzhihua.sangeshenbian.service.IComplaintService; |
| | |
| | | import io.swagger.annotations.ApiOperation; |
| | | import lombok.RequiredArgsConstructor; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | |
| | | import org.springframework.web.bind.annotation.RestController; |
| | |
| | | complaintService.saveComplaint(complaint,getUserId()); |
| | | } |
| | | |
| | | /** |
| | | * 问题上报 |
| | | */ |
| | | @PostMapping("/report") |
| | | @ApiOperation(value = "问题上报") |
| | | public void report(@RequestBody ComplaintReport complaintReport) { |
| | | // TODO |
| | | } |
| | | |
| | | |
| | | |
| | | } |