From 93fe0b66e85e95e3a7e77a28504d6d289b6906b9 Mon Sep 17 00:00:00 2001
From: kaiyu <404897439@qq.com>
Date: Fri, 08 Oct 2021 13:11:22 +0800
Subject: [PATCH] screen-manage screen-api      更改拦截器逻辑,记录token无效的请求IP以及URL。      manage记录到数据库日志中      api记录在日志文件中

---
 screen-api/src/main/resources/mapper/UserLogMapper.xml |   19 ++++++++++---------
 1 files changed, 10 insertions(+), 9 deletions(-)

diff --git a/screen-api/src/main/resources/mapper/UserLogMapper.xml b/screen-api/src/main/resources/mapper/UserLogMapper.xml
index 52f730a..94e75cc 100644
--- a/screen-api/src/main/resources/mapper/UserLogMapper.xml
+++ b/screen-api/src/main/resources/mapper/UserLogMapper.xml
@@ -2,14 +2,15 @@
 <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
 <mapper namespace="com.moral.api.mapper.UserLogMapper">
 
-        <!-- ������������������������ -->
-        <resultMap id="BaseResultMap" type="com.moral.api.entity.UserLog">
-                    <id column="id" property="id" />
-                    <result column="content" property="content" />
-                    <result column="organization_id" property="organizationId" />
-                    <result column="operate_id" property="operateId" />
-                    <result column="ip" property="ip" />
-                    <result column="create_time" property="createTime" />
-        </resultMap>
+    <!-- ������������������������ -->
+    <resultMap id="BaseResultMap" type="com.moral.api.entity.UserLog">
+        <id column="id" property="id" />
+        <result column="type" property="type" />
+        <result column="content" property="content" />
+        <result column="organization_id" property="organizationId" />
+        <result column="operate_id" property="operateId" />
+        <result column="ip" property="ip" />
+        <result column="create_time" property="createTime" />
+    </resultMap>
 
 </mapper>
\ No newline at end of file

--
Gitblit v1.8.0