Commit 69de8f26 authored by 王飞's avatar 王飞

Refactor

1、增加审计日志注解。

Reference N/A
parent 1b00dc52
package com.ruoyi.web;
import com.ruoyi.common.annotation.Log;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.enums.BusinessType;
import com.ruoyi.service.SystemReviewTaskService;
import com.ruoyi.web.request.CreateSystemReviewTaskRequest;
import org.apache.skywalking.apm.toolkit.trace.Tag;
......@@ -23,6 +25,7 @@ public class SystemReviewTaskController extends BaseController {
@Trace
@Tags({@Tag(key = "param", value = "arg[0]"), @Tag(key = "result", value = "returnedObj")})
@Log(title = "体系审查任务", businessType = BusinessType.INSERT)
@RequestMapping(method = RequestMethod.POST, value = "/create")
public AjaxResult create(@Validated @RequestBody CreateSystemReviewTaskRequest request) {
systemReviewTaskService.createTaskTest(request.getBizInfo(), request.getUserIds());
......
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