瀏覽代碼

酷乐秀曲目来源改为内容平台

zouxuan 1 年之前
父節點
當前提交
4d7296d01f

+ 0 - 2
cooleshow-app/src/main/java/com/yonge/cooleshow/teacher/controller/MusicalInstrumentController.java

@@ -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);