From 8ef3693f9a10ebdb2f54a61bd81a2c600c3d8813 Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Fri, 24 Jun 2022 11:50:14 +0800
Subject: [PATCH] Merge branch 'master' of http://120.27.238.55:7000/r/farmer-cms
---
src/main/java/com/xcong/farmer/cms/common/system/controller/LoginController.java | 17
index.html | 1098 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
src/main/resources/application-test.yml | 2
pom.xml | 7
4 files changed, 1,119 insertions(+), 5 deletions(-)
diff --git a/index.html b/index.html
new file mode 100644
index 0000000..e5677a5
--- /dev/null
+++ b/index.html
@@ -0,0 +1,1098 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <meta charset="UTF-8">
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
+ <meta name="viewport" content="width=1200">
+ <meta name="keywords" content="湖南省安化县人民法院">
+ <meta name="description" content="湖南省安化县人民法院">
+ <title>湖南省安化县人民法院</title>
+ <link rel="stylesheet" href="http://120.27.238.55:8000/cms/css/reset.css">
+ <link rel="stylesheet" href="http://120.27.238.55:8000/cms/css/common.css">
+ <link rel="stylesheet" href="http://120.27.238.55:8000/cms/css/lib/swiper-3.4.2.min.css">
+ <style>
+
+ /* 头条推荐 */
+ .recommen-box{
+ background: #E5E5E5;
+ font-size: 0;
+ }
+ .recommen-box .left-img{
+ width: 126px;
+ vertical-align: middle;
+ }
+ .recommen-box .right{
+ display: inline-block;
+ vertical-align: middle;
+ max-width: calc(100% - 126px);
+ padding: 0 24px;
+ box-sizing: border-box;
+ }
+ .recommen-box .title{
+ font-size: 36px;
+ font-weight: bold;
+ }
+ .recommen-box .desc{
+ font-size: 14px;
+ margin: 6px 0;
+ word-wrap: break-word;
+ }
+ /* 新闻 */
+ .news-box{
+ margin: 16px 0;
+ }
+ .news-swiper .swiper-container {
+ width: 100%;
+ height: 315px;
+ }
+ .news-swiper .swiper-slide{
+ position: relative;
+ }
+ .news-swiper img{
+ display: block;
+ max-width: 100%;
+ height: 100%;
+ margin: 0 auto;
+ }
+ .news-swiper .title{
+ position: absolute;
+ bottom: 0;
+ width: 100%;
+ padding: 16px 4px;
+ box-sizing: border-box;
+ background: rgba(47, 47, 47, 0.5);
+ color: #ffffff;
+ font-size: 16px;
+ }
+ .news-swiper .swiper-pagination{
+ bottom: 18px;
+ padding-right: 12px;
+ box-sizing: border-box;
+ text-align: right;
+ }
+ .news-swiper .swiper-pagination .swiper-pagination-bullet{
+ width: 6px;
+ height: 6px;
+ border-radius: 0;
+ opacity: 1;
+ background: #ffffff;
+ vertical-align: middle;
+ }
+ .news-swiper .swiper-pagination .swiper-pagination-bullet-active{
+ width: 10px;
+ height: 10px;
+ background: #1B6FB8;
+ }
+ .news-box .article-list>li>a{
+ display: block;
+ }
+ .news-box .article-list li .desc{
+ display: none;
+ text-indent: 2em;
+ padding-top: 4px;
+ padding-bottom: 12px;
+ color: #808080;
+ border-bottom: 1px solid #E5E5E5;
+ }
+ .news-box .article-list li:nth-last-of-type(1) .desc{
+ border-bottom-color: #ffffff;
+ }
+ .news-box .article-list li.active .title{
+ font-size: 16px;
+ font-weight: bold;
+ }
+ .news-box .article-list li.active .desc{
+ display: block;
+ }
+ .system-list{
+ background: #ffffff;
+ margin: 0 -8px 0;
+ overflow: hidden;
+ }
+ .system-list .item{
+ float: left;
+ display: table;
+ width: 186px;
+ height: 95px;
+ margin: 0 8px 16px;
+ padding: 0 12px;
+ box-sizing: border-box;
+ background: rgba(27, 111, 184, 0.05);
+ border: 1px solid #1B6FB8;
+ text-align: center;
+ font-weight: bold;
+ cursor: pointer;
+ font-size: 16px;
+ }
+ .system-list .item>div{
+ vertical-align:middle;
+ display:table-cell;
+ }
+ .system-list .item span{
+ display: block;
+ line-height: 24px;
+ display: -webkit-box;
+ -webkit-box-orient: vertical;
+ -webkit-line-clamp: 2;
+ overflow: hidden;
+ }
+ .system-list .item:hover span{
+ color: #1B6FB8;
+ }
+ .system-list .item:nth-child(1) p{
+ font-size: 14px;
+ color: #1B6FB8;
+ margin-bottom: 4px;
+ }
+ .system-list .item:nth-child(1) span{
+ font-size: 22px;
+ color: #1B6FB8;
+ }
+ .banner-list{
+ overflow: hidden;
+ margin: 0 -8px 8px;
+ }
+ .banner-list .item{
+ float: left;
+ width: calc(50% - 16px);
+ margin: 0 8px 8px 8px;
+ }
+ .banner-list .item img{
+ max-width: 100%;
+ max-height: 100%;
+ }
+ .img-list{
+ margin-top: 8px;
+ margin-bottom: 24px;
+ }
+ .img-list .swiper-container {
+ width: 100%;
+ height: 151px;
+ }
+ .img-list .swiper-slide{
+ position: relative;
+ }
+ .img-list img{
+ max-width: 100%;
+ height: 100%;
+ display: block;
+ margin: 0 auto;
+ }
+ .img-list .title{
+ position: absolute;
+ bottom: 0;
+ width: 100%;
+ padding: 10px 5px;
+ box-sizing: border-box;
+ background: rgba(47, 47, 47, 0.5);
+ color: #ffffff;
+ font-size: 14px;
+ overflow: hidden;
+ text-overflow:ellipsis;
+ white-space: nowrap;
+ }
+ .links{
+ border: 1px solid #E5E5E5;
+ font-size: 0;
+ background: linear-gradient(180deg, #3398CC 0%, #1B6FB8 100%);
+ }
+ .links .left{
+ display: inline-block;
+ width: 80px;
+ color: #ffffff;
+ text-align: center;
+ vertical-align: middle;
+ }
+ .links .left .title{
+ font-size: 14px;
+ }
+ .links .right{
+ background: #ffffff;
+ vertical-align: middle;
+ display: inline-block;
+ width: calc(100% - 80px);
+ padding: 12px 20px;
+ font-size: 14px;
+ box-sizing: border-box;
+ }
+ .links .right a{
+ display: inline-block;
+ margin: 6px 20px;
+ text-align: center;
+ }
+ </style>
+</head>
+<body>
+ <div class="header">
+ <div class="box">
+ <div class="container clearfix">
+ <div class="fl">
+ <span>2022年5月12日</span>
+ <span class="ml-5">星期四</span>
+ </div>
+ <div class="fr clearfix">
+ <a href="#" onclick="setHomePage(this,window.location)">设为首页</a>
+ <span class="line"></span>
+ <a href="#" onclick="addToBookMark(window.location,document.title)">加入收藏</a>
+ <span class="line"></span>
+ <div class="search-box fr">
+ <form method="POST" action="/article/essearch.shtml">
+ <input name="keyword" type="text" class="input fl" placeholder="请输入关键字">
+ <input type="submit" name="button" value="搜索" class="btn fl">
+ </form>
+ </div>
+ </div>
+ </div>
+ </div>
+ <div class="banner">
+ <img src="http://120.27.238.55:8000/cms/images/banner.png" alt="">
+ </div>
+ <div class="nav">
+ <ul class="container">
+ <li class="active">
+ <a href="index.html">首页</a>
+ </li>
+ <li>
+ <a href="news.html">法院要闻</a>
+ <div class="layout">
+ <div class="item"><a href="">法院新闻</a></div>
+ <div class="item"><a href="">图片新闻</a></div>
+ <div class="item"><a href="">媒体报道</a></div>
+ </div>
+ </li>
+ <li><a href="">综合信息</a></li>
+ <li><a href="">公文发布</a></li>
+ <li><a href="">规章制度</a></li>
+ <li><a href="">司法管理</a></li>
+ <li><a href="">工作经验</a></li>
+ <li><a href="">调查研究</a></li>
+ <li><a href="">裁判文书</a></li>
+ <li><a href="">法院文化</a></li>
+ <li>
+ <a href="">特色栏目</a>
+ <div class="layout">
+ <div class="item"><a href="">典型案例</a></div>
+ <div class="item"><a href="">工作经验</a></div>
+ <div class="item"><a href="">调查研究</a></div>
+ <div class="item"><a href="">法学论文</a></div>
+ <div class="item"><a href="">法律法规</a></div>
+ <div class="item"><a href="">本院简报</a></div>
+ <div class="item"><a href="">地方法规</a></div>
+ </div>
+ </li>
+ </ul>
+ </div>
+ </div>
+ <div class="container">
+ <div class="recommen-box">
+ <img src="http://120.27.238.55:8000/cms/images/recommend-icon.png" alt="头条推荐" class="left-img">
+ <div class="right">
+ <a href="detail.html">
+ <h3 class="title text-overflow">建一流队伍,创一流业绩,奋力开创安化县法院工作新局面</h3>
+ <p class="desc text-overflow-2">全市法院工作暨党风廉政建设和反腐败工作会议召开</p>
+ </a>
+ </div>
+ </div>
+ <div class="news-box row">
+ <div class="col-4">
+ <div class="news-swiper">
+ <div class="swiper-container">
+ <div class="swiper-wrapper">
+ <div class="swiper-slide">
+ <a href="detail.html">
+ <img src="http://120.27.238.55:8000/cms/images/news.png" alt="">
+ <p class="title">为群众办实事 | 院长接访听诉求 释法说理解民忧</p>
+ </a>
+ </div>
+ <div class="swiper-slide">
+ <a href="detail.html">
+ <img src="http://120.27.238.55:8000/cms/images/icon2.png" alt="">
+ <p class="title">院长接访听诉求 释法说理解民忧</p>
+ </a>
+ </div>
+ <div class="swiper-slide">
+ <a href="detail.html">
+ <img src="http://120.27.238.55:8000/cms/images/news.png" alt="">
+ <p class="title">为群众办实事 | </p>
+ </a>
+ </div>
+ <div class="swiper-slide">
+ <a href="detail.html">
+ <img src="http://120.27.238.55:8000/cms/images/news.png" alt="">
+ <p class="title">为群众办实事 | </p>
+ </a>
+ </div>
+ <div class="swiper-slide">
+ <a href="detail.html">
+ <img src="http://120.27.238.55:8000/cms/images/news.png" alt="">
+ <p class="title">为群众办实事 | </p>
+ </a>
+ </div>
+ </div>
+ <div class="swiper-pagination"></div>
+ </div>
+ </div>
+ </div>
+ <div class="col-6">
+ <div class="c-title-box">
+ <h2 class="title active">法院要闻</h2>
+ <a class="more" href="">更多>></a>
+ </div>
+ <ul class="article-list" id="newsList">
+ <li>
+ <a href="detail.html">
+ <div>
+ <span class="title text-overflow-2">优化营商环境 | 法庭送法入企 助力乡村振兴</span>
+ <span class="time">2022-01-01</span>
+ </div>
+ <div class="desc"> 这是新中国成立以来第一部以法典命名的法律,这是一部被誉为“社会生活的百科全书”的法典。民法典涉
+ 及社会生活的方方面面,贯穿你我他的一生。值此民法典颁布两周年之际,最高人民法院新闻局特别推出《学法
+ 典读案例答问题》栏目,邀请中央广播电视总台主持人李修平、贺红梅、崔志刚、张仲......<span class="color-blue">【详细】</span></div>
+ </a>
+ </li>
+ <li>
+ <a href="detail.html">
+ <div>
+ <span class="title text-overflow-2">优化营商环境 | 法庭送法入企 助力乡村振兴</span>
+ <span class="time">2022-01-01</span>
+ </div>
+ <div class="desc"> 这是新中国成立以来第一部以法典命名的法律,这是一部被誉为“社会生活的百科全书”的法典。民法典涉
+ 及社会生活的方方面面,贯穿你我他的一生。值此民法典颁布两周年之际,最高人民法院新闻局特别推出《学法
+ 典读案例答问题》栏目,邀请中央广播电视总台主持人李修平、贺红梅、崔志刚、张仲......<span class="color-blue">【详细】</span></div>
+ </a>
+ </li>
+ <li>
+ <a href="detail.html">
+ <div>
+ <span class="title text-overflow-2">优化营商环境 | 法庭送法入企 助力乡村振兴</span>
+ <span class="time">2022-01-01</span>
+ </div>
+ <div class="desc"> 这是新中国成立以来第一部以法典命名的法律,这是一部被誉为“社会生活的百科全书”的法典。民法典涉
+ 及社会生活的方方面面,贯穿你我他的一生。值此民法典颁布两周年之际,最高人民法院新闻局特别推出《学法
+ 典读案例答问题》栏目,邀请中央广播电视总台主持人李修平、贺红梅、崔志刚、张仲......<span class="color-blue">【详细】</span></div>
+ </a>
+ </li>
+ <li>
+ <a href="detail.html">
+ <div>
+ <span class="title text-overflow-2">优化营商环境 | 法庭送法入企 助力乡村振兴</span>
+ <span class="time">2022-01-01</span>
+ </div>
+ <div class="desc"> 这是新中国成立以来第一部以法典命名的法律,这是一部被誉为“社会生活的百科全书”的法典。民法典涉
+ 及社会生活的方方面面,贯穿你我他的一生。值此民法典颁布两周年之际,最高人民法院新闻局特别推出《学法
+ 典读案例答问题》栏目,邀请中央广播电视总台主持人李修平、贺红梅、崔志刚、张仲......<span class="color-blue">【详细】</span></div>
+ </a>
+ </li>
+ <li>
+ <a href="detail.html">
+ <div>
+ <span class="title text-overflow-2">优化营商环境 | 法庭送法入企 助力乡村振兴</span>
+ <span class="time">2022-01-01</span>
+ </div>
+ <div class="desc"> 这是新中国成立以来第一部以法典命名的法律,这是一部被誉为“社会生活的百科全书”的法典。民法典涉
+ 及社会生活的方方面面,贯穿你我他的一生。值此民法典颁布两周年之际,最高人民法院新闻局特别推出《学法
+ 典读案例答问题》栏目,邀请中央广播电视总台主持人李修平、贺红梅、崔志刚、张仲......<span class="color-blue">【详细】</span></div>
+ </a>
+ </li>
+ </ul>
+ </div>
+ </div>
+ <div class="row">
+ <div class="col-4 box enable--edit--column">
+ <div class="tab-title c-title-box">
+ <h2 class="title active">本院公告</h2>
+ <h2 class="title">公文发布</h2>
+ <a class="more enable--edit--txt" href="./news.html">更多>></a>
+ </div>
+ <div class="tab-content">
+ <!-- 本院公告 -->
+ <ul class="article-list">
+ <li>
+ <a href="">
+ <p class="title">优化营商环境 | 法庭送法入企 助力乡村振兴</p>
+ <span class="time">2022-01-01</span>
+ </a>
+ </li>
+ <li>
+ <a href="">
+ <p class="title">优化营商环境 | 南县人民法院召开优化营商环境、推进破产案件审理工作联...</p>
+ <span class="time">2022-01-01</span>
+ </a>
+ </li>
+ <li>
+ <a href="">
+ <p class="title">是否该交物业费?业主与物业公司对簿公堂,法院判了</p>
+ <span class="time">2022-01-01</span>
+ </a>
+ </li>
+ <li>
+ <a href="">
+ <p class="title">普通程序中的“独任”——新规定跑出新速度</p>
+ <span class="time">2022-01-01</span>
+ </a>
+ </li>
+ <li>
+ <a href="">
+ <p class="title">资阳区人民法院少年法庭开讲啦!</p>
+ <span class="time">2022-01-01</span>
+ </a>
+ </li>
+ </ul>
+ <!-- 公文发布 -->
+ <ul class="article-list hide">
+ <li>
+ <a href="">
+ <p class="title">南县人民法院南县人民法院“两个确立”主题教育学习集锦“两个确立”主题教育学习集锦</p>
+ <span class="time">2022-01-01</span>
+ </a>
+ </li>
+ <li>
+ <a href="">
+ <p class="title">南县人民法院南县人民法院“两个确立”主题教育学习集锦“两个确立”主题教育学习集锦</p>
+ <span class="time">2022-01-01</span>
+ </a>
+ </li>
+ <li>
+ <a href="">
+ <p class="title">南县人民法院南县人民法院“两个确立”主题教育学习集锦“两个确立”主题教育学习集锦</p>
+ <span class="time">2022-01-01</span>
+ </a>
+ </li>
+ <li>
+ <a href="">
+ <p class="title">南县人民法院南县人民法院“两个确立”主题教育学习集锦“两个确立”主题教育学习集锦</p>
+ <span class="time">2022-01-01</span>
+ </a>
+ </li>
+ <li>
+ <a href="">
+ <p class="title">南县人民法院南县人民法院“两个确立”主题教育学习集锦“两个确立”主题教育学习集锦</p>
+ <span class="time">2022-01-01</span>
+ </a>
+ </li>
+ </ul>
+ </div>
+ </div>
+ <div class="col-6">
+ <div class="row">
+ <div class="col-5-7 box enable--edit--column">
+ <div class="tab-title c-title-box">
+ <h2 class="title active">综合信息</h2>
+ <a class="more enable--edit--txt" href="./news.html">更多>></a>
+ </div>
+ <div class="tab-content">
+ <ul class="article-list">
+ <li>
+ <a href="">
+ <p class="title">南县人民法院南县人民法院“两个确立”主题教育学习集锦“两个确立”主题教育学习集锦</p>
+ <span class="time">2022-01-01</span>
+ </a>
+ </li>
+ <li>
+ <a href="">
+ <p class="title">南县人民法院南县人民法院“两个确立”主题教育学习集锦“两个确立”主题教育学习集锦</p>
+ <span class="time">2022-01-01</span>
+ </a>
+ </li>
+ <li>
+ <a href="">
+ <p class="title">南县人民法院南县人民法院“两个确立”主题教育学习集锦“两个确立”主题教育学习集锦</p>
+ <span class="time">2022-01-01</span>
+ </a>
+ </li>
+ <li>
+ <a href="">
+ <p class="title">南县人民法院南县人民法院“两个确立”主题教育学习集锦“两个确立”主题教育学习集锦</p>
+ <span class="time">2022-01-01</span>
+ </a>
+ </li>
+ <li>
+ <a href="">
+ <p class="title">南县人民法院南县人民法院“两个确立”主题教育学习集锦“两个确立”主题教育学习集锦</p>
+ <span class="time">2022-01-01</span>
+ </a>
+ </li>
+ </ul>
+ </div>
+ </div>
+ <div class="col-4-2 box">
+ <div class="c-title-box">
+ <h2 class="title">开庭公告</h2>
+ <a class="more">更多>></a>
+ </div>
+ <ul class="article-list">
+ <li>
+ <a href="">
+ <p class="title">南县人民法院南县人民法院“两个确立”主题教育学习集锦“两个确立”主题教育学习集锦</p>
+ <span class="time">2022-01-01</span>
+ </a>
+ </li>
+ <li>
+ <a href="">
+ <p class="title">南县人民法院南县人民法院“两个确立”主题教育学习集锦“两个确立”主题教育学习集锦</p>
+ <span class="time">2022-01-01</span>
+ </a>
+ </li>
+ <li>
+ <a href="">
+ <p class="title">南县人民法院南县人民法院“两个确立”主题教育学习集锦“两个确立”主题教育学习集锦</p>
+ <span class="time">2022-01-01</span>
+ </a>
+ </li>
+ <li>
+ <a href="">
+ <p class="title">南县人民法院南县人民法院“两个确立”主题教育学习集锦“两个确立”主题教育学习集锦</p>
+ <span class="time">2022-01-01</span>
+ </a>
+ </li>
+ <li>
+ <a href="">
+ <p class="title">南县人民法院南县人民法院“两个确立”主题教育学习集锦“两个确立”主题教育学习集锦</p>
+ <span class="time">2022-01-01</span>
+ </a>
+ </li>
+ </ul>
+ </div>
+ </div>
+ </div>
+ </div>
+
+ <div class="system-list">
+ <a class="item" href="">
+ <div>
+ <p>欢迎使用</p>
+ <span>业务系统</span>
+ </div>
+ </a>
+ <a class="item">
+ <div>
+ <span>法律法规查询系统</span>
+ </div>
+ </a>
+ <a class="item">
+ <div>
+ <span>邮件系统</span>
+ </div>
+ </a>
+ <a class="item">
+ <div>
+ <span>视频资料</span>
+ </div>
+ </a>
+ <a class="item">
+ <div>
+ <span>办公自动化系统</span>
+ </div>
+ </a>
+ <a class="item">
+ <div>
+ <span>数字法院审判系统</span>
+ </div>
+ </a>
+ <a class="item">
+ <div>
+ <span>知网数据库(法律)</span>
+ </div>
+ </a>
+ <a class="item">
+ <div>
+ <span>庭审直播点播</span>
+ </div>
+ </a>
+ </div>
+ <div class="row">
+ <div class="col-4 box">
+ <div class="tab-title c-title-box">
+ <h2 class="title active">质量绩效</h2>
+ <h2 class="title">廉政教育</h2>
+ <a class="more">更多>></a>
+ </div>
+ <div class="tab-content">
+ <!-- 质量绩效 -->
+ <ul class="article-list">
+ <li>
+ <a href="">
+ <p class="title">优化营商环境 | 法庭送法入企 助力乡村振兴</p>
+ <span class="time">2022-01-01</span>
+ </a>
+ </li>
+ <li>
+ <a href="">
+ <p class="title">优化营商环境 | 南县人民法院召开优化营商环境、推进破产案件审理工作联...</p>
+ <span class="time">2022-01-01</span>
+ </a>
+ </li>
+ <li>
+ <a href="">
+ <p class="title">是否该交物业费?业主与物业公司对簿公堂,法院判了</p>
+ <span class="time">2022-01-01</span>
+ </a>
+ </li>
+ <li>
+ <a href="">
+ <p class="title">普通程序中的“独任”——新规定跑出新速度</p>
+ <span class="time">2022-01-01</span>
+ </a>
+ </li>
+ <li>
+ <a href="">
+ <p class="title">资阳区人民法院少年法庭开讲啦!</p>
+ <span class="time">2022-01-01</span>
+ </a>
+ </li>
+ </ul>
+ <!-- 廉政教育 -->
+ <ul class="article-list hide">
+ <li>
+ <a href="">
+ <p class="title">南县人民法院南县人民法院“两个确立”主题教育学习集锦“两个确立”主题教育学习集锦</p>
+ <span class="time">2022-01-01</span>
+ </a>
+ </li>
+ <li>
+ <a href="">
+ <p class="title">南县人民法院南县人民法院“两个确立”主题教育学习集锦“两个确立”主题教育学习集锦</p>
+ <span class="time">2022-01-01</span>
+ </a>
+ </li>
+ <li>
+ <a href="">
+ <p class="title">南县人民法院南县人民法院“两个确立”主题教育学习集锦“两个确立”主题教育学习集锦</p>
+ <span class="time">2022-01-01</span>
+ </a>
+ </li>
+ <li>
+ <a href="">
+ <p class="title">南县人民法院南县人民法院“两个确立”主题教育学习集锦“两个确立”主题教育学习集锦</p>
+ <span class="time">2022-01-01</span>
+ </a>
+ </li>
+ <li>
+ <a href="">
+ <p class="title">南县人民法院南县人民法院“两个确立”主题教育学习集锦“两个确立”主题教育学习集锦</p>
+ <span class="time">2022-01-01</span>
+ </a>
+ </li>
+ </ul>
+ </div>
+ </div>
+ <div class="col-6 box">
+ <div class="tab-title c-title-box">
+ <h2 class="title active">典型人物</h2>
+ <h2 class="title">先进集体</h2>
+ <h2 class="title">表彰奖励</h2>
+ <h2 class="title">荣誉集锦</h2>
+ <a class="more">更多>></a>
+ </div>
+ <div class="tab-content">
+ <!-- 典型人物 -->
+ <ul class="article-list">
+ <li>
+ <a href="">
+ <p class="title">优化营商环境 | 法庭送法入企 助力乡村振兴</p>
+ <span class="time">2022-01-01</span>
+ </a>
+ </li>
+ <li>
+ <a href="">
+ <p class="title">优化营商环境 | 南县人民法院召开优化营商环境、推进破产案件审理工作联...</p>
+ <span class="time">2022-01-01</span>
+ </a>
+ </li>
+ <li>
+ <a href="">
+ <p class="title">是否该交物业费?业主与物业公司对簿公堂,法院判了</p>
+ <span class="time">2022-01-01</span>
+ </a>
+ </li>
+ <li>
+ <a href="">
+ <p class="title">普通程序中的“独任”——新规定跑出新速度</p>
+ <span class="time">2022-01-01</span>
+ </a>
+ </li>
+ <li>
+ <a href="">
+ <p class="title">资阳区人民法院少年法庭开讲啦!</p>
+ <span class="time">2022-01-01</span>
+ </a>
+ </li>
+ </ul>
+ <!-- 先进集体 -->
+ <ul class="article-list hide">
+ <li>
+ <a href="">
+ <p class="title">南县人民法院南县人民法院“两个确立”主题教育学习集锦“两个确立”主题教育学习集锦</p>
+ <span class="time">2022-01-01</span>
+ </a>
+ </li>
+ <li>
+ <a href="">
+ <p class="title">南县人民法院南县人民法院“两个确立”主题教育学习集锦“两个确立”主题教育学习集锦</p>
+ <span class="time">2022-01-01</span>
+ </a>
+ </li>
+ <li>
+ <a href="">
+ <p class="title">南县人民法院南县人民法院“两个确立”主题教育学习集锦“两个确立”主题教育学习集锦</p>
+ <span class="time">2022-01-01</span>
+ </a>
+ </li>
+ <li>
+ <a href="">
+ <p class="title">南县人民法院南县人民法院“两个确立”主题教育学习集锦“两个确立”主题教育学习集锦</p>
+ <span class="time">2022-01-01</span>
+ </a>
+ </li>
+ <li>
+ <a href="">
+ <p class="title">南县人民法院南县人民法院“两个确立”主题教育学习集锦“两个确立”主题教育学习集锦</p>
+ <span class="time">2022-01-01</span>
+ </a>
+ </li>
+ </ul>
+ <!-- 表彰奖励 -->
+ <ul class="article-list hide">
+ <li>
+ <a href="">
+ <p class="title">南县人民法院南县人民法院“两个确立”主题教育学习集锦“两个确立”主题教育学习集锦</p>
+ <span class="time">2022-01-01</span>
+ </a>
+ </li>
+ </ul>
+ <!-- 荣誉集锦 -->
+ <ul class="article-list hide">
+ <li>
+ <a href="">
+ <p class="title">南县人民法院南县人民法院“两个确立”主题教育学习集锦“两个确立”主题教育学习集锦</p>
+ <span class="time">2022-01-01</span>
+ </a>
+ </li>
+ </ul>
+ </div>
+ </div>
+ </div>
+ <div class="banner-list">
+ <div class="item">
+ <img src="http://120.27.238.55:8000/cms/images/shce.jpg" alt="" class="enable--edit--img">
+ </div>
+ <div class="item">
+ <img src="http://120.27.238.55:8000/cms/images/bwcx.jpg" alt="" class="enable--edit--img">
+ </div>
+ </div>
+ <div class="row">
+ <div class="col-7 box">
+ <div class="tab-title c-title-box">
+ <h2 class="title active">法律法规</h2>
+ <h2 class="title">规章制度</h2>
+ <a class="more">更多>></a>
+ </div>
+ <div class="tab-content">
+ <!-- 法律法规 -->
+ <ul class="article-list">
+ <li>
+ <a href="">
+ <p class="title">优化营商环境 | 法庭送法入企 助力乡村振兴</p>
+ <span class="time">2022-01-01</span>
+ </a>
+ </li>
+ <li>
+ <a href="">
+ <p class="title">优化营商环境 | 南县人民法院召开优化营商环境、推进破产案件审理工作联...</p>
+ <span class="time">2022-01-01</span>
+ </a>
+ </li>
+ <li>
+ <a href="">
+ <p class="title">是否该交物业费?业主与物业公司对簿公堂,法院判了</p>
+ <span class="time">2022-01-01</span>
+ </a>
+ </li>
+ <li>
+ <a href="">
+ <p class="title">普通程序中的“独任”——新规定跑出新速度</p>
+ <span class="time">2022-01-01</span>
+ </a>
+ </li>
+ <li>
+ <a href="">
+ <p class="title">资阳区人民法院少年法庭开讲啦!</p>
+ <span class="time">2022-01-01</span>
+ </a>
+ </li>
+ </ul>
+ <!-- 规章制度 -->
+ <ul class="article-list hide">
+ <li>
+ <a href="">
+ <p class="title">南县人民法院南县人民法院“两个确立”主题教育学习集锦“两个确立”主题教育学习集锦</p>
+ <span class="time">2022-01-01</span>
+ </a>
+ </li>
+ <li>
+ <a href="">
+ <p class="title">南县人民法院南县人民法院“两个确立”主题教育学习集锦“两个确立”主题教育学习集锦</p>
+ <span class="time">2022-01-01</span>
+ </a>
+ </li>
+ <li>
+ <a href="">
+ <p class="title">南县人民法院南县人民法院“两个确立”主题教育学习集锦“两个确立”主题教育学习集锦</p>
+ <span class="time">2022-01-01</span>
+ </a>
+ </li>
+ <li>
+ <a href="">
+ <p class="title">南县人民法院南县人民法院“两个确立”主题教育学习集锦“两个确立”主题教育学习集锦</p>
+ <span class="time">2022-01-01</span>
+ </a>
+ </li>
+ <li>
+ <a href="">
+ <p class="title">南县人民法院南县人民法院“两个确立”主题教育学习集锦“两个确立”主题教育学习集锦</p>
+ <span class="time">2022-01-01</span>
+ </a>
+ </li>
+ </ul>
+ </div>
+ </div>
+ <div class="col-3">
+ <div class="c-title-box"></div>
+ <ul class="quick-list">
+ <li>
+ <a href="mailto:942534046@qq.com">
+ <img src="http://120.27.238.55:8000/cms/images/icon3.png" alt="" class="enable--edit--img">
+ <span class="txt">院长信箱</span>
+ </a>
+ </li>
+ <li>
+ <a href="onlineMsg.html">
+ <img src="http://120.27.238.55:8000/cms/images/icon1.png" alt="" class="enable--edit--img">
+ <span class="txt">在线留言</span>
+ </a>
+ </li>
+ <li>
+ <a href="">
+ <img src="http://120.27.238.55:8000/cms/images/icon2.png" alt="" class="enable--edit--img">
+ <span class="txt">法官论坛</span>
+ </a>
+ </li>
+
+ </ul>
+ </div>
+ </div>
+ <div class="row">
+ <div class="col-7 box">
+ <div class="tab-title c-title-box">
+ <h2 class="title active">党务公开</h2>
+ <h2 class="title">本院简报</h2>
+ <h2 class="title">公文信息</h2>
+ <a class="more">更多>></a>
+ </div>
+ <div class="tab-content">
+ <!-- 党务公开 -->
+ <ul class="article-list">
+ <li>
+ <a href="">
+ <p class="title">优化营商环境 | 法庭送法入企 助力乡村振兴</p>
+ <span class="time">2022-01-01</span>
+ </a>
+ </li>
+ <li>
+ <a href="">
+ <p class="title">优化营商环境 | 南县人民法院召开优化营商环境、推进破产案件审理工作联...</p>
+ <span class="time">2022-01-01</span>
+ </a>
+ </li>
+ <li>
+ <a href="">
+ <p class="title">是否该交物业费?业主与物业公司对簿公堂,法院判了</p>
+ <span class="time">2022-01-01</span>
+ </a>
+ </li>
+ <li>
+ <a href="">
+ <p class="title">普通程序中的“独任”——新规定跑出新速度</p>
+ <span class="time">2022-01-01</span>
+ </a>
+ </li>
+ <li>
+ <a href="">
+ <p class="title">资阳区人民法院少年法庭开讲啦!</p>
+ <span class="time">2022-01-01</span>
+ </a>
+ </li>
+ </ul>
+ <!-- 本院简报 -->
+ <ul class="article-list hide">
+ <li>
+ <a href="">
+ <p class="title">南县人民法院南县人民法院“两个确立”主题教育学习集锦“两个确立”主题教育学习集锦</p>
+ <span class="time">2022-01-01</span>
+ </a>
+ </li>
+ <li>
+ <a href="">
+ <p class="title">南县人民法院南县人民法院“两个确立”主题教育学习集锦“两个确立”主题教育学习集锦</p>
+ <span class="time">2022-01-01</span>
+ </a>
+ </li>
+ <li>
+ <a href="">
+ <p class="title">南县人民法院南县人民法院“两个确立”主题教育学习集锦“两个确立”主题教育学习集锦</p>
+ <span class="time">2022-01-01</span>
+ </a>
+ </li>
+ <li>
+ <a href="">
+ <p class="title">南县人民法院南县人民法院“两个确立”主题教育学习集锦“两个确立”主题教育学习集锦</p>
+ <span class="time">2022-01-01</span>
+ </a>
+ </li>
+ <li>
+ <a href="">
+ <p class="title">南县人民法院南县人民法院“两个确立”主题教育学习集锦“两个确立”主题教育学习集锦</p>
+ <span class="time">2022-01-01</span>
+ </a>
+ </li>
+ </ul>
+ <!-- 公文信息 -->
+ <ul class="article-list hide">
+ <li>
+ <a href="">
+ <p class="title">南县人民法院南县人民法院“两个确立”主题教育学习集锦“两个确立”主题教育学习集锦</p>
+ <span class="time">2022-01-01</span>
+ </a>
+ </li>
+ </ul>
+ </div>
+ </div>
+ <div class="col-3 box">
+ <div class="tab-title c-title-box">
+ <h2 class="title active">法学论文</h2>
+ <a class="more">更多>></a>
+ </div>
+ <div class="tab-content">
+ <!-- 法学论文 -->
+ <ul class="article-list">
+ <li>
+ <a href="">
+ <p class="title">优化营商环境 | 法庭送法入企 助力乡村振兴</p>
+ <span class="time">2022-01-01</span>
+ </a>
+ </li>
+ <li>
+ <a href="">
+ <p class="title">优化营商环境 | 南县人民法院召开优化营商环境、推进破产案件审理工作联...</p>
+ <span class="time">2022-01-01</span>
+ </a>
+ </li>
+ </ul>
+ </div>
+ </div>
+ </div>
+ <div class="row">
+ <div class="img-list">
+ <div class="swiper-container">
+ <div class="swiper-wrapper">
+ <div class="swiper-slide">
+ <a href="detail.html">
+ <img src="http://120.27.238.55:8000/cms/images/news.png" alt="">
+ <p class="title">1</p>
+ </a>
+ </div>
+ <div class="swiper-slide">
+ <a href="detail.html">
+ <img src="http://120.27.238.55:8000/cms/images/news.png" alt="">
+ <p class="title">2</p>
+ </a>
+ </div>
+ <div class="swiper-slide">
+ <a href="detail.html">
+ <img src="http://120.27.238.55:8000/cms/images/news.png" alt="">
+ <p class="title">3</p>
+ </a>
+ </div>
+ <div class="swiper-slide">
+ <a href="detail.html">
+ <img src="http://120.27.238.55:8000/cms/images/news.png" alt="">
+ <p class="title">4</p>
+ </a>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ <div class="links">
+ <div class="left">
+ <p class="title">友情链接</p>
+ </div>
+ <div class="right">
+ <a href="">湖南省高级人民法院</a>
+ <a href="">长沙市中级人民法院</a>
+ <a href="">株洲市中级人民法院</a>
+ <a href="">株洲市中级人民法院</a>
+ <a href="">株洲市中级人民法院</a>
+ <a href="">株洲市中级人民法院</a>
+ <a href="">株洲市中级人民法院</a>
+ <a href="">株洲市中级人民法院</a>
+ <a href="">株洲市中级人民法院</a>
+ <a href="">株洲市中级人民法院</a>
+ <a href="">株洲市中级人民法院</a>
+ </div>
+ </div>
+ </div>
+ <div class="footer">
+ <img src="http://120.27.238.55:8000/cms/images/footer-icon.png" alt="">
+ <p class="enable--edit--txt">湖南省安化县人民法院版权所有</p>
+ <a href="">后台管理</a>
+ </div>
+
+ <script src="http://120.27.238.55:8000/cms/js/lib/jquery-2.1.1.min.js"></script>
+ <script src="http://120.27.238.55:8000/cms/js/lib/swiper-3.4.2.min.js"></script>
+ <script src="http://120.27.238.55:8000/cms/js/common.js"></script>
+ <script>
+ var newsListItemEl = document.getElementById('newsList').getElementsByTagName('li');
+ var newsSwiper = new Swiper ('.news-swiper .swiper-container', {
+ autoplay: 5000,
+ loop: true,
+ pagination: '.swiper-pagination',
+ paginationClickable: true,
+ onSlideChangeStart: function(swiper){
+ var preIndex = swiper.previousIndex;
+ if(preIndex) {
+ newsListItemEl[preIndex-1].className = '';
+ }
+ var index = swiper.activeIndex ==6 ? 0: swiper.activeIndex-1
+ newsListItemEl[index].className = 'active';
+ }
+ })
+ // for(var i = 0; i < newsListItemEl.length; i++) {
+ // (function (index) {
+ // newsListItemEl[index].onmouseenter = function () {
+ // newsListItemEl[0].className = '';
+ // newsListItemEl[index].className = 'active';
+ // newsSwiper.slideTo(index+1, 800, false);
+ // };
+ // newsListItemEl[index].onmouseleave = function () {
+ // newsListItemEl[index].className = '';
+ // };
+ // })(i)
+ // }
+
+ $('.tab-title .title').click(function () {
+ var index = $(this).index()
+ $(this).addClass('active').siblings().removeClass('active');
+ $(this).parent().next().children().eq(index).siblings().hide()
+ $(this).parent().next().children().eq(index).show()
+ })
+ var swiper = new Swiper('.img-list .swiper-container', {
+ autoplay: 5000,
+ speed: 1000,
+ loop: true,
+ spaceBetween: 16,
+ slidesPerView: 5
+ });
+ </script>
+</body>
+</html>
\ No newline at end of file
diff --git a/pom.xml b/pom.xml
index 4639ebe..0287bb3 100644
--- a/pom.xml
+++ b/pom.xml
@@ -258,6 +258,13 @@
<artifactId>jsoup</artifactId>
<version>1.14.3</version>
</dependency>
+
+ <!-- https://mvnrepository.com/artifact/commons-io/commons-io -->
+ <dependency>
+ <groupId>commons-io</groupId>
+ <artifactId>commons-io</artifactId>
+ <version>2.11.0</version>
+ </dependency>
</dependencies>
<build>
diff --git a/src/main/java/com/xcong/farmer/cms/common/system/controller/LoginController.java b/src/main/java/com/xcong/farmer/cms/common/system/controller/LoginController.java
index 16d753a..cb41816 100644
--- a/src/main/java/com/xcong/farmer/cms/common/system/controller/LoginController.java
+++ b/src/main/java/com/xcong/farmer/cms/common/system/controller/LoginController.java
@@ -1,5 +1,6 @@
package com.xcong.farmer.cms.common.system.controller;
+import cn.hutool.core.io.FileUtil;
import cn.hutool.core.util.IdUtil;
import com.alibaba.fastjson.JSONObject;
import com.xcong.farmer.cms.common.contants.AppContants;
@@ -8,19 +9,20 @@
import com.xcong.farmer.cms.common.system.dto.LoginDto;
import com.xcong.farmer.cms.utils.RedisUtils;
import lombok.extern.slf4j.Slf4j;
+import org.apache.commons.io.FileUtils;
import org.jsoup.Jsoup;
import org.springframework.beans.factory.annotation.Value;
+import org.springframework.core.io.ClassPathResource;
import org.springframework.security.authentication.UsernamePasswordAuthenticationToken;
import org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder;
import org.springframework.security.core.Authentication;
+import org.springframework.util.FileCopyUtils;
import org.springframework.util.ResourceUtils;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.*;
import javax.annotation.Resource;
-import java.io.File;
-import java.io.FileNotFoundException;
-import java.io.IOException;
+import java.io.*;
import java.util.HashMap;
import java.util.Map;
@@ -62,7 +64,14 @@
@GetMapping("/html")
public Result html() throws IOException {
- File file = ResourceUtils.getFile("classpath:static/index.html");
+// File file = ResourceUtils.getFile("classpath:static/index.html");
+
+ InputStream input = this.getClass().getClassLoader().getResourceAsStream("static/index.html");
+ File file = new File("index.html");
+ FileUtils.copyToFile(input, file);
+
+// ClassPathResource classPathResource = new ClassPathResource("static/index.html");
+// File file = classPathResource.getFile();
return Result.ok("", Jsoup.parse(file, "utf-8").html());
}
}
diff --git a/src/main/resources/application-test.yml b/src/main/resources/application-test.yml
index 7ceda3a..0c39782 100644
--- a/src/main/resources/application-test.yml
+++ b/src/main/resources/application-test.yml
@@ -90,5 +90,5 @@
static:
resource:
url: http://120.27.238.55:8000/uploadeFile/image/
- path: /home/javaweb/webresource/uploadeFile/image
+ path: /home/javaweb/webresource/uploadeFile/image/
--
Gitblit v1.9.1