|
|
|
|
8
|
import org.springframework.web.bind.annotation.PathVariable;
|
8
|
import org.springframework.web.bind.annotation.PathVariable;
|
9
|
import org.springframework.web.bind.annotation.RequestBody;
|
9
|
import org.springframework.web.bind.annotation.RequestBody;
|
10
|
import org.springframework.web.bind.annotation.RequestMapping;
|
10
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
11
|
import org.springframework.web.bind.annotation.PostMapping;
|
11
|
import org.springframework.web.bind.annotation.RequestParam;
|
12
|
import org.springframework.web.bind.annotation.RequestParam;
|
12
|
import org.springframework.web.bind.annotation.RestController;
|
13
|
import org.springframework.web.bind.annotation.RestController;
|
13
|
|
14
|
|
|
|
|
|
90
|
// }
|
91
|
// }
|
91
|
@PostMapping("/delete")
|
92
|
@PostMapping("/delete")
|
92
|
@RequiresPermissions("admin:meeting:delete")
|
93
|
@RequiresPermissions("admin:meeting:delete")
|
93
|
@ApiOperation("删除")
|
|
|
94
|
public R delete(@RequestBody Long[] ids){
|
94
|
public R delete(@RequestBody Long[] ids){
|
95
|
meetingService.delete(ids);
|
95
|
meetingService.delete(ids);
|
96
|
return R.ok();
|
96
|
return R.ok();
|
|
|
|
|
98
|
|
98
|
|
99
|
@PostMapping("/status")
|
99
|
@PostMapping("/status")
|
100
|
@RequiresPermissions("admin:meeting:status")
|
100
|
@RequiresPermissions("admin:meeting:status")
|
101
|
@ApiOperation("改变审核状态")
|
|
|
102
|
public R status(@RequestBody Map<String, Object> param){
|
101
|
public R status(@RequestBody Map<String, Object> param){
|
103
|
Long id = Long.valueOf(param.get("id").toString());
|
102
|
Long id = Long.valueOf(param.get("id").toString());
|
104
|
Integer status = Integer.valueOf(param.get("status").toString());
|
103
|
Integer status = Integer.valueOf(param.get("status").toString());
|