Commit f9f826b1 by 吴迪

【修改】添加操作日志

parent 893033cc
...@@ -6,6 +6,7 @@ import java.util.Date; ...@@ -6,6 +6,7 @@ import java.util.Date;
import java.util.Map; import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import io.office.common.annotation.SysLog;
import io.office.modules.manage.vo.request.NewtopicEntityVo; import io.office.modules.manage.vo.request.NewtopicEntityVo;
import io.office.modules.sys.controller.AbstractController; import io.office.modules.sys.controller.AbstractController;
import io.office.modules.sys.entity.SysUserEntity; import io.office.modules.sys.entity.SysUserEntity;
...@@ -66,6 +67,7 @@ public class NewtopicController extends AbstractController { ...@@ -66,6 +67,7 @@ public class NewtopicController extends AbstractController {
/** /**
* 保存 * 保存
*/ */
@SysLog("保存newtopic")
@RequestMapping("/save") @RequestMapping("/save")
// @RequiresPermissions("manage:newtopic:save") // @RequiresPermissions("manage:newtopic:save")
public R save(@RequestBody NewtopicEntityVo newtopicVo) { public R save(@RequestBody NewtopicEntityVo newtopicVo) {
...@@ -76,6 +78,7 @@ public class NewtopicController extends AbstractController { ...@@ -76,6 +78,7 @@ public class NewtopicController extends AbstractController {
/** /**
* 修改 * 修改
*/ */
@SysLog("修改newtopic")
@RequestMapping("/update") @RequestMapping("/update")
// @RequiresPermissions("manage:newtopic:update") // @RequiresPermissions("manage:newtopic:update")
public R update(@RequestBody NewtopicEntity newtopic) { public R update(@RequestBody NewtopicEntity newtopic) {
...@@ -91,6 +94,7 @@ public class NewtopicController extends AbstractController { ...@@ -91,6 +94,7 @@ public class NewtopicController extends AbstractController {
/** /**
* 删除 * 删除
*/ */
@SysLog("删除newtopic")
@Transactional @Transactional
@RequestMapping("/delete") @RequestMapping("/delete")
// @RequiresPermissions("manage:newtopic:delete") // @RequiresPermissions("manage:newtopic:delete")
...@@ -108,6 +112,7 @@ public class NewtopicController extends AbstractController { ...@@ -108,6 +112,7 @@ public class NewtopicController extends AbstractController {
} }
@SysLog("审核newtopic")
@Transactional @Transactional
@RequestMapping("/verify") @RequestMapping("/verify")
// @RequiresPermissions("manage:newtopic:verify") // @RequiresPermissions("manage:newtopic:verify")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment