细节调整
This commit is contained in:
@ -42,7 +42,7 @@ public class NgMerchantsController extends BaseController
|
||||
/**
|
||||
* 查询商户信息列表
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('iot:merchants:list')")
|
||||
// @PreAuthorize("@ss.hasPermi('iot:merchants:list')")
|
||||
@GetMapping("/list")
|
||||
@ApiOperation("查询商户信息列表")
|
||||
public TableDataInfo list(NgMerchants ngMerchants)
|
||||
@ -56,7 +56,7 @@ public class NgMerchantsController extends BaseController
|
||||
* 导出商户信息列表
|
||||
*/
|
||||
@ApiOperation("导出商户信息列表")
|
||||
@PreAuthorize("@ss.hasPermi('iot:merchants:export')")
|
||||
// @PreAuthorize("@ss.hasPermi('iot:merchants:export')")
|
||||
@PostMapping("/export")
|
||||
public void export(HttpServletResponse response, NgMerchants ngMerchants)
|
||||
{
|
||||
@ -69,7 +69,7 @@ public class NgMerchantsController extends BaseController
|
||||
/**
|
||||
* 获取商户信息详细信息
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('iot:merchants:query')")
|
||||
// @PreAuthorize("@ss.hasPermi('iot:merchants:query')")
|
||||
@GetMapping(value = "/{id}")
|
||||
@ApiOperation("获取商户信息详细信息")
|
||||
public AjaxResult getInfo(@PathVariable("id") Long id)
|
||||
@ -80,7 +80,7 @@ public class NgMerchantsController extends BaseController
|
||||
/**
|
||||
* 新增商户信息
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('iot:merchants:add')")
|
||||
// @PreAuthorize("@ss.hasPermi('iot:merchants:add')")
|
||||
@PostMapping
|
||||
@ApiOperation("新增商户信息")
|
||||
public AjaxResult add(@RequestBody NgMerchants ngMerchants)
|
||||
|
Reference in New Issue
Block a user