|
@@ -6,7 +6,6 @@ import com.yonge.cooleshow.biz.dal.wrapper.InstrumentWrapper;
|
|
|
import io.swagger.annotations.Api;
|
|
|
import io.swagger.annotations.ApiOperation;
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
-import org.springframework.security.access.prepost.PreAuthorize;
|
|
|
import org.springframework.validation.annotation.Validated;
|
|
|
import org.springframework.web.bind.annotation.PostMapping;
|
|
|
import org.springframework.web.bind.annotation.RequestBody;
|
|
@@ -27,7 +26,6 @@ public class MusicalInstrumentController {
|
|
|
private InstrumentService instrumentService;
|
|
|
|
|
|
@ApiOperation(value = "乐器列表")
|
|
|
- @PreAuthorize("@pcs.hasPermissions('musicalInstrument/list', {'BACKEND'})")
|
|
|
@PostMapping("/list")
|
|
|
public R<List<InstrumentWrapper.Instrument>> list(@RequestBody InstrumentWrapper.InstrumentQuery query) {
|
|
|
List<InstrumentWrapper.Instrument> instruments = instrumentService.getList(query);
|