Parcourir la source

招商模块提交

小么熊🐻 il y a 1 an
Parent
commit
778f654afe

+ 0 - 10
nbjk-admin/src/main/java/com/miaxis/open/controller/AentInfoController.java

@@ -33,7 +33,6 @@ public class AentInfoController extends BaseController{
     /**
      * 查询招商列表
      */
-    @PreAuthorize("@ss.hasPermi('aent:info:list')")
     @GetMapping("/list")
     @ApiOperation("查询招商列表")
         @ApiImplicitParams({
@@ -49,8 +48,6 @@ public class AentInfoController extends BaseController{
     /**
      * 导出招商列表
      */
-    @PreAuthorize("@ss.hasPermi('aent:info:export')")
-    @Log(title = "招商", businessType = BusinessTypeEnum.EXPORT)
     @GetMapping("/export")
     @ApiOperation("导出招商列表Excel")
     public Response<String> export(@ModelAttribute AentInfo aentInfo){
@@ -62,7 +59,6 @@ public class AentInfoController extends BaseController{
     /**
      * 获取招商详细信息
      */
-    @PreAuthorize("@ss.hasPermi('aent:info:query')")
     @GetMapping(value = "/{id}")
     @ApiOperation("获取招商详细信息")
     public Response<AentInfo> getInfo(
@@ -75,8 +71,6 @@ public class AentInfoController extends BaseController{
     /**
      * 新增招商
      */
-    @PreAuthorize("@ss.hasPermi('aent:info:add')")
-    @Log(title = "招商", businessType = BusinessTypeEnum.INSERT)
     @PostMapping
     @ApiOperation("新增招商")
     public Response<Integer> add(@RequestBody AentInfo aentInfo){
@@ -86,8 +80,6 @@ public class AentInfoController extends BaseController{
     /**
      * 修改招商
      */
-    @PreAuthorize("@ss.hasPermi('aent:info:edit')")
-    @Log(title = "招商", businessType = BusinessTypeEnum.UPDATE)
     @PutMapping
     @ApiOperation("修改招商")
     public Response<Integer> edit(@RequestBody AentInfo aentInfo){
@@ -97,8 +89,6 @@ public class AentInfoController extends BaseController{
     /**
      * 删除招商
      */
-    @PreAuthorize("@ss.hasPermi('aent:info:remove')")
-    @Log(title = "招商", businessType = BusinessTypeEnum.DELETE)
 	@DeleteMapping("/{ids}")
     @ApiOperation("删除招商")
     public  Response<Integer> remove(