From 42b7d05dfdf60ee67c876084a3240ff48a3bf3a5 Mon Sep 17 00:00:00 2001
From: inleft <inleft@qq.com>
Date: Wed, 02 Mar 2022 12:08:11 +0800
Subject: [PATCH] 日志添加评论控制

---
 snowy-base/snowy-core/src/main/java/vip/xiaonuo/core/context/constant/ConstantContextHolder.java |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/snowy-base/snowy-core/src/main/java/vip/xiaonuo/core/context/constant/ConstantContextHolder.java b/snowy-base/snowy-core/src/main/java/vip/xiaonuo/core/context/constant/ConstantContextHolder.java
index f764c9e..cb67bb3 100644
--- a/snowy-base/snowy-core/src/main/java/vip/xiaonuo/core/context/constant/ConstantContextHolder.java
+++ b/snowy-base/snowy-core/src/main/java/vip/xiaonuo/core/context/constant/ConstantContextHolder.java
@@ -323,6 +323,14 @@
     }
 
     /**
+     * 获取blog资源地址访问前缀
+     * @return
+     */
+    public static String getBlogSourcePrefix() {
+        return getSysConfig("visit", String.class, true);
+    }
+
+    /**
      * 获取config表中的配置,如果为空返回默认值
      *
      * @param configCode   变量名称,对应sys_config表中的code

--
Gitblit v1.9.1