Commit 647addd7 authored by 万成波's avatar 万成波

优化代码

parent 602f8905
...@@ -16,7 +16,7 @@ ruoyi: ...@@ -16,7 +16,7 @@ ruoyi:
# 开发环境配置 # 开发环境配置
server: server:
# 服务器的HTTP端口,默认为8080 # 服务器的HTTP端口,默认为8080
port: 8080 port: 8089
servlet: servlet:
# 应用的访问路径 # 应用的访问路径
context-path: / context-path: /
...@@ -67,8 +67,8 @@ token: ...@@ -67,8 +67,8 @@ token:
header: Authorization header: Authorization
# 令牌密钥 # 令牌密钥
secret: abcdefghijklmnopqrstuvwxyz secret: abcdefghijklmnopqrstuvwxyz
# 令牌有效期(默认30分钟 # 令牌有效期(默认3小时
expireTime: 300000000 expireTime: 10800000
# MyBatis Plus配置 # MyBatis Plus配置
mybatis-plus: mybatis-plus:
......
...@@ -114,13 +114,14 @@ public class BbsMoment extends BaseEntity { ...@@ -114,13 +114,14 @@ public class BbsMoment extends BaseEntity {
private String nickName; private String nickName;
/** 用户部门 */ /** 用户部门 */
@Excel(name = "所在部门", sort = 3) @Excel(name = "部门(班级)", sort = 3)
@TableField(exist = false) @TableField(exist = false)
private String deptName; private String deptName;
@TableField(exist = false) @TableField(exist = false)
private String ancestors; private String ancestors;
@Excel(name = "上级部门(学院)", sort = 4)
@TableField(exist = false) @TableField(exist = false)
private String fullDeptName; private String fullDeptName;
......
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