|
|
@@ -37,7 +37,7 @@ public class FsStoreScrmController extends BaseController
|
|
|
/**
|
|
|
* 查询店铺管理列表
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('his:store:list')")
|
|
|
+ @PreAuthorize("@ss.hasPermi('store:his:store:list')")
|
|
|
@GetMapping("/list")
|
|
|
public TableDataInfo list(FsStoreScrm fsStore)
|
|
|
{
|
|
|
@@ -52,7 +52,7 @@ public class FsStoreScrmController extends BaseController
|
|
|
/**
|
|
|
* 导出店铺管理列表
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('his:store:export')")
|
|
|
+ @PreAuthorize("@ss.hasPermi('store:his:store:export')")
|
|
|
@Log(title = "店铺管理", businessType = BusinessType.EXPORT,logParam = {"店铺","导出店铺信息"},isStoreLog = true)
|
|
|
@GetMapping("/export")
|
|
|
public AjaxResult export(FsStoreScrm fsStore)
|
|
|
@@ -69,7 +69,7 @@ public class FsStoreScrmController extends BaseController
|
|
|
/**
|
|
|
* 获取店铺管理详细信息
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('his:store:query')")
|
|
|
+ @PreAuthorize("@ss.hasPermi('store:his:store:query')")
|
|
|
@GetMapping(value = "/{storeId}")
|
|
|
public AjaxResult getInfo(@PathVariable("storeId") Long storeId)
|
|
|
{
|
|
|
@@ -81,7 +81,7 @@ public class FsStoreScrmController extends BaseController
|
|
|
/**
|
|
|
* 新增店铺管理
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('his:store:add')")
|
|
|
+ @PreAuthorize("@ss.hasPermi('store:his:store:add')")
|
|
|
@Log(title = "店铺管理", businessType = BusinessType.INSERT,logParam = {"店铺","新增店铺信息"},isStoreLog = true)
|
|
|
@PostMapping
|
|
|
public AjaxResult add(@RequestBody FsStoreScrm fsStore)
|
|
|
@@ -93,7 +93,7 @@ public class FsStoreScrmController extends BaseController
|
|
|
/**
|
|
|
* 修改店铺管理
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('his:store:edit')")
|
|
|
+ @PreAuthorize("@ss.hasPermi('store:his:store:edit')")
|
|
|
@Log(title = "店铺管理", businessType = BusinessType.UPDATE,logParam = {"店铺","修改店铺信息"},isStoreLog = true)
|
|
|
@PutMapping
|
|
|
public AjaxResult edit(@RequestBody FsStoreScrm fsStore)
|
|
|
@@ -108,7 +108,7 @@ public class FsStoreScrmController extends BaseController
|
|
|
/**
|
|
|
* 删除店铺管理
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('his:store:remove')")
|
|
|
+ @PreAuthorize("@ss.hasPermi('store:his:store:remove')")
|
|
|
@Log(title = "店铺管理", businessType = BusinessType.DELETE,logParam = {"店铺","删除店铺信息"},isStoreLog = true)
|
|
|
@DeleteMapping("/{storeIds}")
|
|
|
public AjaxResult remove(@PathVariable Long[] storeIds)
|
|
|
@@ -119,7 +119,7 @@ public class FsStoreScrmController extends BaseController
|
|
|
/**
|
|
|
* 店铺审核
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('his:store:audit')")
|
|
|
+ @PreAuthorize("@ss.hasPermi('store:his:store:audit')")
|
|
|
@Log(title = "店铺审核", businessType = BusinessType.AUDIT,logParam = {"店铺","店铺审核"},isStoreLog = true
|
|
|
,logParamExpression = "#p0.getIsAudit()==1?new String[]{'店铺','店铺审核通过'}: new String[]{'店铺','店铺审核退回'}")
|
|
|
@PutMapping("/audit")
|
|
|
@@ -131,7 +131,7 @@ public class FsStoreScrmController extends BaseController
|
|
|
/**
|
|
|
* 重置店铺密码
|
|
|
* */
|
|
|
- @PreAuthorize("@ss.hasPermi('his:store:refresh')")
|
|
|
+ @PreAuthorize("@ss.hasPermi('store:his:store:refresh')")
|
|
|
@Log(title = "店铺管理", businessType = BusinessType.UPDATE,logParam = {"店铺","重置店铺密码"},isStoreLog = true)
|
|
|
@PutMapping("/refresh/{storeId}")
|
|
|
public AjaxResult refresh(@PathVariable Long storeId)
|
|
|
@@ -143,7 +143,7 @@ public class FsStoreScrmController extends BaseController
|
|
|
/**
|
|
|
* 店铺审核日志
|
|
|
* */
|
|
|
- @PreAuthorize("@ss.hasPermi('his:store:auditLog')")
|
|
|
+ @PreAuthorize("@ss.hasPermi('store:his:store:auditLog')")
|
|
|
@GetMapping("/auditLog/{storeId}")
|
|
|
public R auditLog(@PathVariable Long storeId){
|
|
|
return R.ok().put("auditLog",storeAuditLogUtil.selectOperLogByMainId(storeId));
|