13693261870
7 天以前 b8d62de41ff7e1e0549061308aa11f68cf881ed9
se-system/src/main/java/com/terra/system/aspect/LogAspect.java
@@ -6,7 +6,7 @@
import com.terra.system.helper.WebHelper;
import com.terra.system.service.sys.OperateService;
import com.terra.system.service.sys.TokenService;
import io.swagger.annotations.Api;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.aspectj.lang.ProceedingJoinPoint;
@@ -93,9 +93,9 @@
            oe.setExec(time);
            // 设置模块
            Api api = clazz.getAnnotation(Api.class);
            if (api != null) {
                String[] strs = api.tags()[0].split(SPLIT);
            Tag tag = clazz.getAnnotation(Tag.class);
            if (tag != null) {
                String[] strs = tag.name().split(SPLIT);
                oe.setModular1(strs[0]);
                oe.setModular2(strs[1]);
            }