去掉app版本接口的权限限制
This commit is contained in:
parent
9e97c1a576
commit
cc66d1161e
@ -37,7 +37,7 @@ public class AppVersionController extends BaseController
|
||||
/**
|
||||
* 查询应用版本信息列表
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('app:version:list')")
|
||||
// @PreAuthorize("@ss.hasPermi('app:version:list')")
|
||||
@GetMapping("/list")
|
||||
public TableDataInfo list(AppVersion appVersion)
|
||||
{
|
||||
@ -49,7 +49,7 @@ public class AppVersionController extends BaseController
|
||||
/**
|
||||
* 导出应用版本信息列表
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('app:version:export')")
|
||||
// @PreAuthorize("@ss.hasPermi('app:version:export')")
|
||||
@Log(title = "应用版本信息", businessType = BusinessType.EXPORT)
|
||||
@PostMapping("/export")
|
||||
public void export(HttpServletResponse response, AppVersion appVersion)
|
||||
@ -62,7 +62,7 @@ public class AppVersionController extends BaseController
|
||||
/**
|
||||
* 获取应用版本信息详细信息
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('app:version:query')")
|
||||
// @PreAuthorize("@ss.hasPermi('app:version:query')")
|
||||
@GetMapping(value = "/{id}")
|
||||
public AjaxResult getInfo(@PathVariable("id") Long id)
|
||||
{
|
||||
@ -72,7 +72,7 @@ public class AppVersionController extends BaseController
|
||||
/**
|
||||
* 新增应用版本信息
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('app:version:add')")
|
||||
// @PreAuthorize("@ss.hasPermi('app:version:add')")
|
||||
@Log(title = "应用版本信息", businessType = BusinessType.INSERT)
|
||||
@PostMapping
|
||||
public AjaxResult add(@RequestBody AppVersion appVersion)
|
||||
@ -83,7 +83,7 @@ public class AppVersionController extends BaseController
|
||||
/**
|
||||
* 修改应用版本信息
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('app:version:edit')")
|
||||
// @PreAuthorize("@ss.hasPermi('app:version:edit')")
|
||||
@Log(title = "应用版本信息", businessType = BusinessType.UPDATE)
|
||||
@PutMapping
|
||||
public AjaxResult edit(@RequestBody AppVersion appVersion)
|
||||
@ -94,7 +94,7 @@ public class AppVersionController extends BaseController
|
||||
/**
|
||||
* 删除应用版本信息
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('app:version:remove')")
|
||||
// @PreAuthorize("@ss.hasPermi('app:version:remove')")
|
||||
@Log(title = "应用版本信息", businessType = BusinessType.DELETE)
|
||||
@DeleteMapping("/{ids}")
|
||||
public AjaxResult remove(@PathVariable Long[] ids)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user