limeng 3 semanas atrás
pai
commit
03a86f2428

+ 9 - 9
src/main/resources/application.properties

@@ -1,6 +1,6 @@
 #Server
 app.name=sookaCms
-server.port=8080
+server.port=443
 #spring session
 spring.session.store-type=hash_map
 #spring aop
@@ -14,12 +14,12 @@ spring.devtools.restart.enabled=true
 #datasource
 spring.datasource.driver-class-name=com.mysql.jdbc.Driver
 
-#spring.datasource.url=jdbc:mysql://120.46.15.239:53306/tuiyijunren?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull&useSSL=false
-#spring.datasource.username=root
-#spring.datasource.password=Aa123!@#
-spring.datasource.url=jdbc:mysql://192.168.10.15:63306/tuiyijunren?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull
+spring.datasource.url=jdbc:mysql://120.46.15.239:53306/tuiyijunren?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull&useSSL=false
 spring.datasource.username=root
-spring.datasource.password=sooka1a2b3c4d%...
+spring.datasource.password=Aa123!@#
+#spring.datasource.url=jdbc:mysql://192.168.10.15:63306/tuiyijunren?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull
+#spring.datasource.username=root
+#spring.datasource.password=sooka1a2b3c4d%...
 #druid
 spring.datasource.druid.initial-size=1
 spring.datasource.druid.max-active=20
@@ -57,8 +57,8 @@ system.login.path=admin
 system.login.enabled-kickout=true
 
 system.login.max-session=10
-system.http.protocol=http
-system.http.host= 127.0.0.1:8080
+system.http.protocol=https
+system.http.host= 127.0.0.1
 system.site.name=sookaCms
 system.site.prefix=tuiyijunren
 system.site.subfix=.html
@@ -78,7 +78,7 @@ qiniu.access.key=
 qiniu.secret.key=
 qiniu.bucketname=
 qiniu.cdn.domain=
-#QQ
+#QQwoue
 oauthQQ.openid=
 oauthQQ.openkey=
 oauthQQ.redirect=

+ 3 - 3
src/main/resources/templates/error.html

@@ -8,9 +8,9 @@
 	<meta charset="utf-8">
 
 	<!-- 重定向回首页,主要用于ccrudder.cn重定向回www.ccrudder.cn -->
-<!--	<script type="text/javascript">-->
-<!--		window.location.href = "http://www.ccrudder.cn";-->
-<!-- 	</script>-->
+	<script type="text/javascript">
+		window.location.href = "https://jltyjrzhfw.org.cn/tuiyijunren/4/";
+ 	</script>
 
 	<title>${status!} - ${error!}</title>
 	<link rel="icon" type="image/x-icon" href="${resPath}/xczxw/images/favicon.ico">

+ 0 - 16
src/main/resources/templates/www/tuiyijunren/content-xlts.html

@@ -11,22 +11,6 @@
 	<div class="dqwz" ><span>当前位置:<a href="${frontPath}/${site.siteId}">网站首页</a>><a href="${frontPath}/${site.siteId}/1229.html">学历提升</a>><a href="${frontPath}/${site.siteId}/${category.categoryId}.html">${category.categoryName}</a></span></div>
 	<div class="news_txt2 qy_news">
 		<img src="${resPath}/tuiyijunren/images/twjr_img35.png"/>
-		<div class="sx_div">
-			<select>
-				<option>延边大学</option>
-				<option>吉林大学</option>
-			</select>
-			<select>
-				<option>请选择学院</option>
-				<option>经济学院</option>
-				<option>吉林大学</option>
-			</select>
-			<select>
-				<option>请选择专业</option>
-				<option>延边大学</option>
-				<option>吉林大学</option>
-			</select>
-		</div>
 	</div>
 	<div class="xl_bor">
 		<div class="xl_tit">

+ 2 - 2
src/main/resources/templates/www/tuiyijunren/include/footer.html

@@ -7,7 +7,7 @@
                 <a href="${bean.linkUrl!}" target="_blank">${bean.linkName!}</a>
             </#cms_friendlink>
         </div>
-        <div class="twjr_ewm"><img src="${resPath}/tuiyijunren/images/twjr_ewm.png"/><span>小程序</span></div>
+        <div class="twjr_ewm"><img style="height: 165px;width:165px;" src="${resPath}/tuiyijunren/images/twjr_ewm.png"/><span>小程序</span></div>
     </div>
 
 </div>
@@ -19,6 +19,6 @@
     </div>
     <div class="text">
         <p>吉林省长春市南关区蔚山路瑞邦城市广场C座515室</p>
-        <p>备案号:吉ICP备14001xxx号-1</p>
+        <p>备案号:吉ICP备2025025858号-2X</p>
     </div>
 </div>

+ 25 - 9
src/main/resources/templates/www/tuiyijunren/list-xlts.html

@@ -2,6 +2,18 @@
 @includeFileTemplate("/www/tuiyijunren/include/header.html"){}
 <!--头部结束-->
 <!--中间内容开始-->
+<script>
+	function render(str,id) {
+		console.log(str)
+		let html = "<h4>可选专业</h4>";
+		let arr = str.split("/");
+		for (let i = 0; i < arr.length; i++) {
+			html += "<span>"+arr[i]+"</span>";
+		}
+		console.log(html);
+		$("#"+id).html(html);
+	}
+</script>
 <div class="er_content clearfix">
 	<div class="er_left fl">
 		<div class="er_nav">
@@ -12,17 +24,21 @@
 		</div>
 	</div>
 	<div class="er_right fl">
-		<div class="news_list">
+		<div class="xl_list">
 			<#cms_pagination siteId="${site.siteId}" categoryId="${categoryId}" page="${page}" moreNum="6" var="page">
 				<#cms_content_list siteId="${site.siteId}" categoryId="${categoryId}" orderBy="3" isHot="0" hasChild="0" isRecommend="0" size="3" titleLen="22" var="bean" pageNumber="${page.current}">
-					<a class="news_list_div clearfix" href="${bean.url!}">
-						<img src="${bean.thumb!}" alt="${bean.title!}"/>
-						<div class="news_list_text">
-							<h2>${bean.title!}</h2>
-							<h2>${bean.category.categoryId!}</h2>
-							<span>${bean.description!}</span>
-							<h3>可选专业</h3>
-							<h4>${bean.study_zy!}</h4>
+					<a href="${bean.url!}">
+						<div class="xl_list_div clearfix">
+							<img src="${bean.thumb!}" alt="${bean.title!}"/>
+							<div class="xl_txt">
+								<h1>${bean.title!}</h1>
+								<p>${bean.description!}</p>
+								<div class="xl_zy" id="${bean.content_id!}">
+									<script>
+										render("${bean.study_zy!}","${bean.content_id!}");
+									</script>
+								</div>
+							</div>
 						</div>
 					</a>
 				</#cms_content_list>