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