TASK:模块化;

This commit is contained in:
shahaibo
2025-03-28 09:37:42 +08:00
parent a8f868e215
commit 3398992bcd
4 changed files with 17 additions and 7 deletions

View File

@@ -28,7 +28,9 @@ public enum LibraryLevel1TypeEnum {
* 模特
*/
MODELS("Models"),
DESIGN_ELEMENTS("DesignElements");
DESIGN_ELEMENTS("DesignElements"),
BRAND_DNA("BrandDNA");
private String realName;

View File

@@ -28,7 +28,7 @@ public final class LocalCacheUtils {
private static LoadingCache<String, String> loadTokenCache() {
LoadingCache<String, String> tokenCache = CacheBuilder.newBuilder()
.concurrencyLevel(10)
.expireAfterWrite(24 * 100, TimeUnit.HOURS)
.expireAfterWrite(24 * 7 - 1, TimeUnit.HOURS)
.initialCapacity(100)
.maximumSize(10000)
.recordStats()