limeng 2 years ago
parent
commit
ac63986cac

+ 4 - 8
src/main/resources/application.properties

@@ -1,6 +1,6 @@
 #Server
 app.name=sookaCms
-server.port=80
+server.port=8900
 #spring session
 spring.session.store-type=hash_map
 #spring aop
@@ -56,7 +56,7 @@ system.login.enabled-kickout=true
 system.login.max-session=1
 system.http.protocol=http
 #system.http.host=192.168.1.100
-system.http.host=127.0.0.1
+system.http.host=192.168.1.122:8900
 system.site.name=sookaCms
 system.site.prefix=xczxw
 system.site.subfix=.html
@@ -67,9 +67,9 @@ system.member.allow.register=false
 #如果启用七牛云存储,此处设置将无效
 enable.virtual.path=true
 #file upload path windows
-windows.file.upload.path=/Users/wangshuo/Pictures
+windows.file.upload.path=/Users/xczxw/Pictures
 #file upload path linux
-linux.file.upload.path=/Users/xx/Pictures
+linux.file.upload.path=/u01/xczxw/Pictures
 #七牛云存储
 qiniu.upload.on=false
 qiniu.access.key=
@@ -85,7 +85,3 @@ oauthSina.openid=
 oauthSina.openkey=
 oauthSina.redirect=
 #
-#server.ssl.key-store=classpath:keystore.p12
-#server.ssl.key-store-password=123456
-#server.ssl.keyStoreType=PKCS12
-#server.ssl.keyAlias=tomcat

+ 15 - 15
src/main/resources/templates/system/index.html

@@ -4,7 +4,7 @@
 <meta charset="utf-8">
 <meta http-equiv="X-UA-Compatible" content="IE=edge">
 <title>管理后台 - ${siteName!}</title>
-<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
+<!--<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">-->
 <!-- bootstrap - css -->
 <link href="${ctxPath}/static/BJUI/themes/css/bootstrap.css" rel="stylesheet">
     <link rel="stylesheet" href="${ctxPath}/static/BJUI/themes/css/datepicker.css" /><!-- 日期框 -->
@@ -124,25 +124,25 @@ $(function() {
         debug        : true,    // [可选]调试模式 [true|false,默认false]
         theme        : 'orange' // 若有Cookie['bjui_theme'],优先选择Cookie['bjui_theme']。皮肤[五种皮肤:default, orange, purple, blue, red, green]
     })
-    
+
     // main - menu
     $('#bjui-accordionmenu')
         .collapse()
         .on('hidden.bs.collapse', function(e) {
             $(this).find('> .panel > .panel-heading').each(function() {
                 var $heading = $(this), $a = $heading.find('> h4 > a')
-                
+
                 if ($a.hasClass('collapsed')) $heading.removeClass('active')
             })
         })
         .on('shown.bs.collapse', function (e) {
             $(this).find('> .panel > .panel-heading').each(function() {
                 var $heading = $(this), $a = $heading.find('> h4 > a')
-                
+
                 if (!$a.hasClass('collapsed')) $heading.addClass('active')
             })
         })
-    
+
     $(document).on('click', 'ul.menu-items > li > a', function(e) {
         var $a = $(this), $li = $a.parent(), options = $a.data('options').toObj()
         var onClose = function() {
@@ -152,23 +152,23 @@ $(function() {
             $('#bjui-accordionmenu').find('ul.menu-items > li').removeClass('switch')
             $li.addClass('switch')
         }
-        
+
         $li.addClass('active')
         if (options) {
             options.url      = $a.attr('href')
             options.onClose  = onClose
             options.onSwitch = onSwitch
             if (!options.title) options.title = $a.text()
-            
+
             if (!options.target)
                 $a.navtab(options)
             else
                 $a.dialog(options)
         }
-        
+
         e.preventDefault()
     })
-    
+
     //时钟
     var today = new Date(), time = today.getTime()
     $('#bjui-date').html(today.formatDate('yyyy/MM/dd'))
@@ -181,14 +181,14 @@ $(function() {
 //菜单-事件
 function MainMenuClick(event, treeId, treeNode) {
     event.preventDefault()
-    
+
     if (treeNode.isParent) {
         var zTree = $.fn.zTree.getZTreeObj(treeId)
-        
+
         zTree.expandNode(treeNode, !treeNode.open, false, true, true)
         return
     }
-    
+
     if (treeNode.target && treeNode.target == 'dialog')
         $(event.target).dialog({id:treeNode.tabid, url:treeNode.url, title:treeNode.name})
     else
@@ -213,7 +213,7 @@ function MainMenuClick(event, treeId, treeNode) {
             <ul class="bjui-navbar-right">
                 <li class="datetime"><div><span id="bjui-date"></span> <span id="bjui-clock"></span></div></li>
                 <li><a>你好,${session.SysUser.username!}</a></li>
-                <li><a target="_blank" href="${ctxPath}/rdjt/${session.SysUser.siteId!}" data-id="siteInfo"><span class="glyphicon glyphicon-home"></span> ${session.SysUser.siteId==1?"前台首页":session.SysUser.siteName!}</a></li>
+                <li><a target="_blank" href="${ctxPath}/xczxw/${session.SysUser.siteId!}" data-id="siteInfo"><span class="glyphicon glyphicon-home"></span> ${session.SysUser.siteId==1?"前台首页":session.SysUser.siteName!}</a></li>
                 <li><a target="_blank" href="${ctxPath}/system/cache/clear/all" data-toggle="doajax" data-confirm-msg="清理缓存"><span class="glyphicon glyphicon-refresh"></span> 清理缓存</a></li>
                 <li class="dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown">我的账户 <span class="caret"></span></a>
                     <ul class="dropdown-menu" role="menu">
@@ -352,8 +352,8 @@ function MainMenuClick(event, treeId, treeNode) {
         </div>
     </div>
     <footer id="bjui-footer" >
-        &copy; 2020 sookaCMS  <span class="heartbeat"></span><a href="#" target="_blank"></a> 
+        &copy; 2023 sookaCMS  <span class="heartbeat"></span><a href="#" target="_blank"></a> 
     </footer>
     </div>
 </body>
-</html>
+</html>

+ 1 - 1
src/main/resources/templates/www/xczxw/include/header.html

@@ -1,5 +1,5 @@
 <head>
-    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+    <meta content="text/html; charset=utf-8"/>
     <title>通榆县乡村振兴网</title>
     <link rel="icon" type="image/x-icon" href="${resPath}/xczxw/images/favicon.ico">
     <link rel="stylesheet" type="text/css" href="${resPath}/xczxw/images/style.css">