|
@@ -63,6 +63,7 @@ public class ArchivesUnboundController extends BaseController {
|
|
|
/**
|
|
|
* 查询分页列表
|
|
|
*/
|
|
|
+ @PreAuthorize("@ss.hasAnyRoles('admin,xmg')")
|
|
|
@GetMapping("/pageList")
|
|
|
public TableDataInfo pageList(ArchivesUnbound archivesUnbound) {
|
|
|
startPage();
|
|
@@ -73,7 +74,7 @@ public class ArchivesUnboundController extends BaseController {
|
|
|
/**
|
|
|
* 获取博雅集 Archives Unbound(Gale)详细信息
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('VRdemo:ArchivesUnbound:query')")
|
|
|
+ @Anonymous
|
|
|
@GetMapping(value = "/{id}")
|
|
|
public AjaxResult getInfo(@PathVariable("id") Long id) {
|
|
|
return success(archivesUnboundService.selectArchivesUnboundById(id));
|
|
@@ -82,7 +83,7 @@ public class ArchivesUnboundController extends BaseController {
|
|
|
/**
|
|
|
* 新增博雅集 Archives Unbound(Gale)
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('VRdemo:ArchivesUnbound:add')")
|
|
|
+ @PreAuthorize("@ss.hasAnyRoles('admin,xmg')")
|
|
|
@Log(title = "博雅集 Archives Unbound(Gale)", businessType = BusinessType.INSERT)
|
|
|
@PostMapping
|
|
|
public AjaxResult add(@RequestBody ArchivesUnbound archivesUnbound) {
|
|
@@ -92,7 +93,7 @@ public class ArchivesUnboundController extends BaseController {
|
|
|
/**
|
|
|
* 修改博雅集 Archives Unbound(Gale)
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('VRdemo:ArchivesUnbound:edit')")
|
|
|
+ @PreAuthorize("@ss.hasAnyRoles('admin,xmg')")
|
|
|
@Log(title = "博雅集 Archives Unbound(Gale)", businessType = BusinessType.UPDATE)
|
|
|
@PutMapping
|
|
|
public AjaxResult edit(@RequestBody ArchivesUnbound archivesUnbound) {
|
|
@@ -102,7 +103,7 @@ public class ArchivesUnboundController extends BaseController {
|
|
|
/**
|
|
|
* 删除博雅集 Archives Unbound(Gale)
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('VRdemo:ArchivesUnbound:remove')")
|
|
|
+ @PreAuthorize("@ss.hasAnyRoles('admin,xmg')")
|
|
|
@Log(title = "博雅集 Archives Unbound(Gale)", businessType = BusinessType.DELETE)
|
|
|
@DeleteMapping("/{ids}")
|
|
|
public AjaxResult remove(@PathVariable Long[] ids) {
|
|
@@ -112,7 +113,7 @@ public class ArchivesUnboundController extends BaseController {
|
|
|
/**
|
|
|
* 导出博雅集 Archives Unbound(Gale)列表
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('VRdemo:ArchivesUnbound:export')")
|
|
|
+ @PreAuthorize("@ss.hasAnyRoles('admin,xmg')")
|
|
|
@Log(title = "博雅集 Archives Unbound(Gale)", businessType = BusinessType.EXPORT)
|
|
|
@PostMapping("/export")
|
|
|
public void export(HttpServletResponse response, ArchivesUnbound archivesUnbound) {
|