diff --git a/src/main/java/com/teaching/backend/model/entity/system/SystemSetting.java b/src/main/java/com/teaching/backend/model/entity/system/SystemSetting.java index 96ea030..d19762a 100644 --- a/src/main/java/com/teaching/backend/model/entity/system/SystemSetting.java +++ b/src/main/java/com/teaching/backend/model/entity/system/SystemSetting.java @@ -6,7 +6,6 @@ import com.baomidou.mybatisplus.annotation.TableName; import lombok.Data; import java.io.Serializable; -import java.time.LocalDateTime; @Data @TableName("system_settings") @@ -16,6 +15,9 @@ public class SystemSetting implements Serializable { @TableId(type = IdType.AUTO) private Long id; + //门户首页 + private String home; + //系统名称 private String name; diff --git a/src/main/java/com/teaching/backend/model/vo/system/SystemSettingVO.java b/src/main/java/com/teaching/backend/model/vo/system/SystemSettingVO.java index 36a127e..eb21803 100644 --- a/src/main/java/com/teaching/backend/model/vo/system/SystemSettingVO.java +++ b/src/main/java/com/teaching/backend/model/vo/system/SystemSettingVO.java @@ -2,7 +2,6 @@ package com.teaching.backend.model.vo.system; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableId; -import com.baomidou.mybatisplus.annotation.TableName; import lombok.Data; import java.io.Serializable; @@ -14,6 +13,9 @@ public class SystemSettingVO implements Serializable { @TableId(type = IdType.AUTO) private Long id; + //门户首页 + private String home; + //系统名称 private String name; diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index d0c7383..19604a4 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -54,7 +54,6 @@ secure: ignored: urls: # - /swagger-ui/ - - /** # - /swagger-resources/** # - /**/v2/api-docs # - /**/*.html @@ -71,7 +70,7 @@ secure: # - /user/info # - /user/logout # - /minio/upload - + - /** aliyun: