修改图片上传报错,日志不显示操作人

This commit is contained in:
xuwenbo
2020-05-18 16:05:45 +08:00
parent 477db01586
commit 3022c67de7
3 changed files with 7 additions and 4 deletions

View File

@ -34,6 +34,9 @@ public class Log implements Serializable {
/** 操作用户 */
private String username;
@TableField(exist = false)
private String nickname;
/** 描述 */
private String description;

View File

@ -24,7 +24,7 @@ import java.io.Serializable;
public class YxMaterial implements Serializable {
/** PK */
@TableId
@TableId(type = IdType.UUID)
private String id;
/** 逻辑删除标记0显示1隐藏 */

View File

@ -8,7 +8,7 @@ spring:
driverClassName: net.sf.log4jdbc.sql.jdbcapi.DriverSpy
url: jdbc:log4jdbc:mysql://localhost:3306/yxshop?serverTimezone=Asia/Shanghai&characterEncoding=utf8&useSSL=false&zeroDateTimeBehavior=convertToNull
username: root
password: 123456
password: root
# 初始化配置
initial-size: 3
@ -51,7 +51,7 @@ spring:
database: 0
host: 127.0.0.1
port: 6379
password:
password: root
#连接超时时间
timeout: 5000
@ -89,7 +89,7 @@ file:
# 文件大小 /M
maxSize: 100
avatarMaxSize: 5
localUrl:
localUrl: http://127.0.0.1:8000
mybatis-plus:
check-config-location: true