|
@@ -66,7 +66,6 @@ public class TSearchLocationInfoController extends BaseController {
|
|
|
/**
|
|
|
* 搜索【请填写功能名称】列表
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('system:info:search')")
|
|
|
@GetMapping("/search")
|
|
|
public TableDataInfo search(TSearchLocationInfo tSearchLocationInfo) {
|
|
|
tSearchLocationInfo.setUserId(getUserId());
|
|
@@ -78,7 +77,6 @@ public class TSearchLocationInfoController extends BaseController {
|
|
|
/**
|
|
|
* 导出【请填写功能名称】列表
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('system:info:export')")
|
|
|
@Log(title = "【请填写功能名称】", businessType = BusinessType.EXPORT)
|
|
|
@PostMapping("/export")
|
|
|
public void export(HttpServletResponse response, TSearchLocationInfo tSearchLocationInfo) {
|
|
@@ -90,7 +88,6 @@ public class TSearchLocationInfoController extends BaseController {
|
|
|
/**
|
|
|
* 获取【请填写功能名称】详细信息
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('system:info:query')")
|
|
|
@GetMapping(value = "/{id}")
|
|
|
public AjaxResult getInfo(@PathVariable("id") Long id) {
|
|
|
return success(tSearchLocationInfoService.selectTSearchLocationInfoById(id));
|
|
@@ -99,7 +96,6 @@ public class TSearchLocationInfoController extends BaseController {
|
|
|
/**
|
|
|
* 新增【请填写功能名称】
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('system:info:add')")
|
|
|
@Log(title = "【请填写功能名称】", businessType = BusinessType.INSERT)
|
|
|
@PostMapping
|
|
|
public AjaxResult add(@RequestBody TSearchLocationInfo tSearchLocationInfo) {
|
|
@@ -109,7 +105,6 @@ public class TSearchLocationInfoController extends BaseController {
|
|
|
/**
|
|
|
* 修改【请填写功能名称】
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('system:info:edit')")
|
|
|
@Log(title = "【请填写功能名称】", businessType = BusinessType.UPDATE)
|
|
|
@PutMapping
|
|
|
public AjaxResult edit(@RequestBody TSearchLocationInfo tSearchLocationInfo) {
|
|
@@ -119,7 +114,6 @@ public class TSearchLocationInfoController extends BaseController {
|
|
|
/**
|
|
|
* 删除【请填写功能名称】
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('system:info:remove')")
|
|
|
@Log(title = "【请填写功能名称】", businessType = BusinessType.DELETE)
|
|
|
@DeleteMapping("/{ids}")
|
|
|
public AjaxResult remove(@PathVariable Long[] ids) {
|