Compare commits
No commits in common. "019ff6943f98713333f425f2eca92f3db62d4e1b" and "93efb588e2e08d61aadf28639fe309e1468df332" have entirely different histories.
019ff6943f
...
93efb588e2
|
@ -4,7 +4,6 @@ import com.mcwl.common.core.domain.AjaxResult;
|
|||
import com.mcwl.resource.domain.Report;
|
||||
import com.mcwl.resource.domain.vo.PageVo;
|
||||
import com.mcwl.resource.service.ReportService;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
|
@ -27,7 +26,6 @@ public class ReportController {
|
|||
* @param report
|
||||
* @return
|
||||
*/
|
||||
@ApiOperation(value = "新增举报内容")
|
||||
@PostMapping("/addReport")
|
||||
public AjaxResult addReport(@RequestBody Report report){
|
||||
|
||||
|
@ -35,14 +33,11 @@ public class ReportController {
|
|||
return AjaxResult.success("举报成功");
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* 查询举报列表
|
||||
* @param pageVo
|
||||
* @return
|
||||
*/
|
||||
@ApiOperation(value = "查询举报列表")
|
||||
@PostMapping("/selectReport")
|
||||
public AjaxResult selectReport(@RequestBody PageVo pageVo){
|
||||
|
||||
|
@ -55,7 +50,6 @@ public class ReportController {
|
|||
* @param id
|
||||
* @return
|
||||
*/
|
||||
@ApiOperation(value = "删除举报")
|
||||
@GetMapping("/deleteReport")
|
||||
public AjaxResult deleteReport(@RequestParam Long id){
|
||||
|
||||
|
@ -68,7 +62,6 @@ public class ReportController {
|
|||
* @param id
|
||||
* @return
|
||||
*/
|
||||
@ApiOperation(value = "修改状态")
|
||||
@GetMapping("/updateStatus")
|
||||
public AjaxResult updateStatus(@RequestParam Long id){
|
||||
|
||||
|
|
Loading…
Reference in New Issue