-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
hjljy
committed
May 12, 2022
1 parent
9179d97
commit 422a931
Showing
51 changed files
with
493 additions
and
235 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,6 @@ | |
|
||
import java.io.Serializable; | ||
import java.time.LocalDateTime; | ||
import java.util.Date; | ||
|
||
/** | ||
* 针对缓存数据的封装 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
49 changes: 49 additions & 0 deletions
49
src/main/java/cn/hjljy/mlog/common/constants/UrlConstant.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
package cn.hjljy.mlog.common.constants; | ||
|
||
/** | ||
* url常数 | ||
* | ||
* @author hjljy | ||
* @date 2022/03/18 | ||
*/ | ||
public class UrlConstant { | ||
|
||
/** | ||
* 特殊请求路径地址 | ||
*/ | ||
public static class Special { | ||
public static final String CATEGORIES="/categories"; | ||
} | ||
|
||
|
||
/** | ||
* 后台管理接口地址 | ||
*/ | ||
public static final String ADMIN_API="/admin"; | ||
|
||
public static class Admin { | ||
public static final String ARTICLE_PAGE="/article/page"; | ||
} | ||
|
||
/** | ||
* 开放api接口地址 | ||
*/ | ||
public static final String OPEN_API="/open"; | ||
public static class Open{ | ||
/** | ||
* 登录背景图像 | ||
*/ | ||
public static final String LOGIN_BACKGROUND_IMAGE ="/login/background/image"; | ||
|
||
/** | ||
* 博客基础信息 | ||
*/ | ||
public static final String BLOG_BASE_INFO ="/blog/base/info"; | ||
|
||
/** | ||
* 博客的统计数据 | ||
*/ | ||
public static final String BLOG_STATISTICS="/blog/statistics"; | ||
|
||
} | ||
} |
2 changes: 1 addition & 1 deletion
2
...y/mlog/model/enums/ArticleStatusEnum.java → .../mlog/common/enums/ArticleStatusEnum.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package cn.hjljy.mlog.model.enums; | ||
package cn.hjljy.mlog.common.enums; | ||
|
||
/** | ||
* 状态枚举 | ||
|
2 changes: 1 addition & 1 deletion
2
...mlog/model/enums/FileStorageTypeEnum.java → ...log/common/enums/FileStorageTypeEnum.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package cn.hjljy.mlog.model.enums; | ||
package cn.hjljy.mlog.common.enums; | ||
|
||
/** | ||
* 文件存储类型的枚举 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...ljy/mlog/model/enums/SettingTypeEnum.java → ...jy/mlog/common/enums/SettingTypeEnum.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package cn.hjljy.mlog.model.enums; | ||
package cn.hjljy.mlog.common.enums; | ||
|
||
/** | ||
* 设置类型 | ||
|
2 changes: 1 addition & 1 deletion
2
.../hjljy/mlog/model/enums/UserTypeEnum.java → ...hjljy/mlog/common/enums/UserTypeEnum.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package cn.hjljy.mlog.model.enums; | ||
package cn.hjljy.mlog.common.enums; | ||
|
||
/** | ||
* 用户类型枚举 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.