去掉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")
|
@GetMapping("/list")
|
||||||
public TableDataInfo list(AppVersion appVersion)
|
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)
|
@Log(title = "应用版本信息", businessType = BusinessType.EXPORT)
|
||||||
@PostMapping("/export")
|
@PostMapping("/export")
|
||||||
public void export(HttpServletResponse response, AppVersion appVersion)
|
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}")
|
@GetMapping(value = "/{id}")
|
||||||
public AjaxResult getInfo(@PathVariable("id") Long 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)
|
@Log(title = "应用版本信息", businessType = BusinessType.INSERT)
|
||||||
@PostMapping
|
@PostMapping
|
||||||
public AjaxResult add(@RequestBody AppVersion appVersion)
|
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)
|
@Log(title = "应用版本信息", businessType = BusinessType.UPDATE)
|
||||||
@PutMapping
|
@PutMapping
|
||||||
public AjaxResult edit(@RequestBody AppVersion appVersion)
|
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)
|
@Log(title = "应用版本信息", businessType = BusinessType.DELETE)
|
||||||
@DeleteMapping("/{ids}")
|
@DeleteMapping("/{ids}")
|
||||||
public AjaxResult remove(@PathVariable Long[] ids)
|
public AjaxResult remove(@PathVariable Long[] ids)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user