Forráskód Böngészése

Merge branch 'zx_online_cbs' of http://git.dayaedu.com/yonge/cooleshow into develop-new

zouxuan 1 éve
szülő
commit
b00d68247a

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