会员中心

main
tamguo 7 years ago
parent c7d78cd045
commit dbbd02b103

@ -20,7 +20,7 @@ public class WebConfig implements WebMvcConfigurer {
@Override
public void addInterceptors(InterceptorRegistry registry) {
registry.addInterceptor(memberInterceptor).addPathPatterns("/member/**").excludePathPatterns("login.html","register.html","password/**");
registry.addInterceptor(memberInterceptor).addPathPatterns("/**").excludePathPatterns("/login.html","/register.html","/password/**","/captcha.jpg" , "/submitLogin.html" , "/miniLogin.html","/static/**");
}
@Override

@ -20,7 +20,7 @@ public class IndexController {
@Autowired
IMemberService iMemberService;
@RequestMapping(value = "/index.html", method = RequestMethod.GET)
@RequestMapping(value = {"index.html" , "/"}, method = RequestMethod.GET)
public ModelAndView index(ModelAndView model){
model.setViewName("index");
model.addObject("member", iMemberService.selectById(ShiroUtils.getMemberId()));

@ -0,0 +1,28 @@
package com.tamguo.web;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import com.tamguo.utils.ShiroUtils;
@Controller
public class LogoutController {
/**
*
*/
@RequestMapping(value = "logout.html", method = RequestMethod.GET)
public String logout(HttpServletRequest request, HttpServletResponse response, HttpSession session) {
if (session.getAttribute("currMember") != null) {
session.removeAttribute("currMember");
ShiroUtils.logout();
}
return "redirect:/";
}
}

@ -59,4 +59,6 @@ logging.pattern.file=%d{yyyy/MM/dd-HH:mm} [%thread] %-5level %logger- %msg%n
server.compression.enabled=true
server.compression.mime-types=application/json,application/xml,text/html,text/xml,text/plain
file.storage.path=/home/webdata/files/
file.storage.path=/home/webdata/files/
spring.mvc.static-path-pattern=/static/**

@ -3,7 +3,7 @@
<div class="footer" th:fragment="footer">
<div class="public">
<div class="footer-left" style="width:60%">
<div class="footer-logo" style="margin-top: -5px;padding-top:0px;"><img th:src="${domainName + 'images/logo.png'}" style=" position: relative;left: -32px;top: 2px;width:200px;height:50px;"></div>
<div class="footer-logo" style="margin-top: -5px;padding-top:0px;"><img th:src="${domainName + 'static/images/logo.png'}" style=" position: relative;left: -32px;top: 2px;width:200px;height:50px;"></div>
<div class="footer-txt">
<a target="_blank" th:href="${domainName}">关于我们</a> |
<a target="_blank" th:href="${domainName}">联系我们</a> |

@ -3,11 +3,11 @@
<head>
<meta charset="UTF-8">
<title>会员中心 - 探果网</title>
<link rel="stylesheet" th:href="${domainName + 'css/reset.css'}" />
<link rel="stylesheet" th:href="${domainName + 'css/iconfont.css'}" />
<link rel="stylesheet" th:href="${domainName + 'css/member/index.css'}" />
<link rel="stylesheet" th:href="${domainName + 'css/member/memberMain.css'}" />
<link type="favicon" rel="shortcut icon" th:href="${domainName + 'images/favicon.png'}" />
<link rel="stylesheet" th:href="${domainName + 'static/css/reset.css'}" />
<link rel="stylesheet" th:href="${domainName + 'static/css/iconfont.css'}" />
<link rel="stylesheet" th:href="${domainName + 'static/css/member/index.css'}" />
<link rel="stylesheet" th:href="${domainName + 'static/css/member/memberMain.css'}" />
<link type="favicon" rel="shortcut icon" th:href="${domainName + 'static/images/favicon.png'}" />
</head>
<body>
<!-- 头部-->
@ -15,7 +15,7 @@
<div class="head-bar public">
<div class="logo">
<a target="_blank" th:href="${domainName}">
<img th:src="${domainName + 'images/logo_731bc32.png'}">
<img th:src="${domainName + 'static/images/logo_731bc32.png'}">
</a>
<p><span>考试中心</span></p>
</div>
@ -54,7 +54,7 @@
<div class="PCshow hide" style="display: block;">
<div class="examContent public">
<h2>
<img th:src="${domainName + 'images/member/index/face-xiao.png'}"
<img th:src="${domainName + 'static/images/member/index/face-xiao.png'}"
style="position: relative; top: -2px;"> &nbsp;<span
style="letter-spacing: 4px;">
<b id="userName" style="font-weight: normal; color: #2abcb8" th:text="${member.nickName}">tamguo</b>,您好!欢迎来到探果网会员中心
@ -97,22 +97,22 @@
<div class="topNews" id="numList1">
<ul>
<li>
<img th:src="${domainName + 'images/member/index/peneil.png'}" style="margin-top: 26px;position: relative;top: -4px;"><br>
<img th:src="${domainName + 'static/images/member/index/peneil.png'}" style="margin-top: 26px;position: relative;top: -4px;"><br>
<span><b id="datab1" th:text="${member.downNum}">0</b></span><br>
<span>下载总数</span>
</li>
<li>
<img th:src="${domainName + 'images/member/index/paperm.png'}" style="margin-top: 26px;position: relative;top: -4px;"><br>
<img th:src="${domainName + 'static/images/member/index/paperm.png'}" style="margin-top: 26px;position: relative;top: -4px;"><br>
<span><b id="datab2" th:text="${member.paperNum}">1</b></span><br>
<span>试卷总数</span>
</li>
<li>
<img th:src="${domainName + 'images/member/index/peoplem.png'}" style="margin-top: 26px;position: relative;top: -4px;"><br>
<img th:src="${domainName + 'static/images/member/index/peoplem.png'}" style="margin-top: 26px;position: relative;top: -4px;"><br>
<span><b id="datab3" th:text="${member.hitsNum}">0</b></span><br>
<span>阅读总数</span>
</li>
<li>
<img th:src="${domainName + 'images/member/index/testnew.png'}" style="margin-top: 26px;position: relative;top: -6px;"><br>
<img th:src="${domainName + 'static/images/member/index/testnew.png'}" style="margin-top: 26px;position: relative;top: -6px;"><br>
<span><b id="datab4" th:text="${member.questionNum}">19</b></span><br>
<span>试题总数</span>
</li>

@ -7,15 +7,15 @@
<meta name="description" content="探果网,高考试题,高考试卷,高校试题,名校,名校试题,名校试卷,高校名师,名师专访,名师教案,名师课堂试题库,试卷库,智能题库,历年真题,模拟试题,押题,预测试题,高考,会计证,会计从业,会计师,经济师,施工员,建造师,建筑师,造价师,职业资格,证券资格,考研,计算机考试,建筑考试,财会类,医卫类,护士资格,公务员,知识点,试题,试卷"/>
<meta name="author" content="Tamguo Team" />
<meta name="copyright" content="Tamguo" />
<link rel="stylesheet" th:href="${domainName + 'css/reset.css'}" />
<link rel="stylesheet" th:href="${domainName + 'css/member/login.css'}" />
<link type="favicon" rel="shortcut icon" th:href="${domainName + 'images/favicon.png'}" />
<link rel="stylesheet" th:href="${domainName + 'static/css/reset.css'}" />
<link rel="stylesheet" th:href="${domainName + 'static/css/member/login.css'}" />
<link type="favicon" rel="shortcut icon" th:href="${domainName + 'static/images/favicon.png'}" />
</head>
<body>
<div id="wrapper" class="">
<div id="head">
<div class="mod-header">
<a th:href="${domainName + 'login.html'}"><img th:src="${domainName + 'images/logo_731bc32.png'}" alt="logo"></a>
<a th:href="${domainName + 'login.html'}"><img th:src="${domainName + 'static/images/logo_731bc32.png'}" alt="logo"></a>
</div>
</div>
<div id="nav">
@ -97,6 +97,6 @@
<script type="text/javascript" th:inline="javascript">
var mainHttp = [[${domainName}]];
</script>
<script type="text/javascript" th:src="${domainName + 'js/jquery-1.8.3.min.js'}" ></script>
<script type="text/javascript" th:src="${domainName + 'js/member/login.js'}"></script>
<script type="text/javascript" th:src="${domainName + 'static/js/jquery-1.8.3.min.js'}" ></script>
<script type="text/javascript" th:src="${domainName + 'static/js/member/login.js'}"></script>
</html>

@ -5,15 +5,15 @@
<title>找回密码_探果网</title>
<meta name="description" content="探果网携手高校名师为考生提供高效的智能备考服务,涵括领域有高考、财会类、建筑工程、职业资格、医卫类、计算机类和学历类等热门考试题库。拥有高校名师丰富的经验,优质的学习资料和备考全阶段的高效服务,助您丰富自我,不断前行!"/>
<meta name="keyword" content="探果网,高校名师,名师专访,名师教案,名师课堂试题库,试卷库,智能题库,历年真题,模拟试题,押题,预测试题,高考,会计证,会计从业,会计师,经济师,施工员,建造师,建筑师,造价师,职业资格,证券资格,考研,计算机考试,建筑考试,财会类,医卫类,护士资格,公务员,知识点,试题,试卷"/>
<link rel="stylesheet" th:href="${domainName + 'css/reset.css'}" />
<link rel="stylesheet" th:href="${domainName + 'css/password/confirmAccount.css'}" />
<link type="favicon" rel="shortcut icon" th:href="${domainName + 'images/favicon.png'}" />
<link rel="stylesheet" th:href="${domainName + 'static/css/reset.css'}" />
<link rel="stylesheet" th:href="${domainName + 'static/css/password/confirmAccount.css'}" />
<link type="favicon" rel="shortcut icon" th:href="${domainName + 'static/images/favicon.png'}" />
</head>
<body>
<div id="wrapper" class="">
<div id="head">
<div class="mod-header">
<a th:href="${domainName + 'login.html'}"><img th:src="${domainName + 'images/logo_731bc32.png'}" alt="logo"></a>
<a th:href="${domainName + 'login.html'}"><img th:src="${domainName + 'static/images/logo_731bc32.png'}" alt="logo"></a>
</div>
<ul class="mod-userbar">
<li>
@ -74,8 +74,8 @@
</div>
<!-- 底部结束-->
</body>
<script type="text/javascript" th:src="${domainName + 'js/jquery-1.8.3.min.js'}"></script>
<script type="text/javascript" th:src="${domainName + 'js/password/confirmAccount.js'}"></script>
<script type="text/javascript" th:src="${domainName + 'static/js/jquery-1.8.3.min.js'}"></script>
<script type="text/javascript" th:src="${domainName + 'static/js/password/confirmAccount.js'}"></script>
<script type="text/javascript" th:inline="javascript">
var mainHttp = [[${domainName}]];
</script>

@ -5,15 +5,15 @@
<title>找回密码_探果网</title>
<meta name="description" content="探果网携手高校名师为考生提供高效的智能备考服务,涵括领域有高考、财会类、建筑工程、职业资格、医卫类、计算机类和学历类等热门考试题库。拥有高校名师丰富的经验,优质的学习资料和备考全阶段的高效服务,助您丰富自我,不断前行!"/>
<meta name="keyword" content="探果网,高校名师,名师专访,名师教案,名师课堂试题库,试卷库,智能题库,历年真题,模拟试题,押题,预测试题,高考,会计证,会计从业,会计师,经济师,施工员,建造师,建筑师,造价师,职业资格,证券资格,考研,计算机考试,建筑考试,财会类,医卫类,护士资格,公务员,知识点,试题,试卷"/>
<link rel="stylesheet" th:href="${setting.domain + 'css/reset.css'}" />
<link rel="stylesheet" th:href="${setting.domain + 'css/password/resetPassword.css'}" />
<link type="favicon" rel="shortcut icon" th:href="${setting.domain + 'images/favicon.png'}" />
<link rel="stylesheet" th:href="${setting.domain + 'static/css/reset.css'}" />
<link rel="stylesheet" th:href="${setting.domain + 'static/css/password/resetPassword.css'}" />
<link type="favicon" rel="shortcut icon" th:href="${setting.domain + 'static/images/favicon.png'}" />
</head>
<body>
<div id="wrapper" class="">
<div id="head">
<div class="mod-header">
<a th:href="${setting.domain + 'login.html'}"><img th:src="${setting.domain + 'images/logo_731bc32.png'}" alt="logo"></a>
<a th:href="${setting.domain + 'login.html'}"><img th:src="${setting.domain + 'static/images/logo_731bc32.png'}" alt="logo"></a>
</div>
<ul class="mod-userbar">
<li>
@ -85,6 +85,6 @@
</div>
</body>
<script type="text/javascript" th:src="${setting.domain + 'js/jquery-1.8.3.min.js'}"></script>
<script type="text/javascript" th:src="${setting.domain + 'js/password/resetPassword.js'}"></script>
<script type="text/javascript" th:src="${setting.domain + 'static/js/jquery-1.8.3.min.js'}"></script>
<script type="text/javascript" th:src="${setting.domain + 'static/js/password/resetPassword.js'}"></script>
</html>

@ -5,15 +5,15 @@
<title>修改密码_探果网</title>
<meta name="description" content="探果网携手高校名师为考生提供高效的智能备考服务,涵括领域有高考、财会类、建筑工程、职业资格、医卫类、计算机类和学历类等热门考试题库。拥有高校名师丰富的经验,优质的学习资料和备考全阶段的高效服务,助您丰富自我,不断前行!"/>
<meta name="keyword" content="探果网,高校名师,名师专访,名师教案,名师课堂试题库,试卷库,智能题库,历年真题,模拟试题,押题,预测试题,高考,会计证,会计从业,会计师,经济师,施工员,建造师,建筑师,造价师,职业资格,证券资格,考研,计算机考试,建筑考试,财会类,医卫类,护士资格,公务员,知识点,试题,试卷"/>
<link rel="stylesheet" th:href="${setting.domain + 'css/reset.css'}" />
<link rel="stylesheet" th:href="${setting.domain + 'css/password/resetPwSuccess.css'}" />
<link type="favicon" rel="shortcut icon" th:href="${setting.domain + 'images/favicon.png'}" />
<link rel="stylesheet" th:href="${setting.domain + 'static/css/reset.css'}" />
<link rel="stylesheet" th:href="${setting.domain + 'static/css/password/resetPwSuccess.css'}" />
<link type="favicon" rel="shortcut icon" th:href="${setting.domain + 'static/images/favicon.png'}" />
</head>
<body>
<div id="wrapper" class="">
<div id="head">
<div class="mod-header">
<a th:href="${setting.domain + 'login.html'}"><img th:src="${setting.domain + 'images/logo_731bc32.png'}" alt="logo"></a>
<a th:href="${setting.domain + 'login.html'}"><img th:src="${setting.domain + 'static/images/logo_731bc32.png'}" alt="logo"></a>
</div>
<ul class="mod-userbar">
<li>
@ -42,7 +42,7 @@
<div class="mod-step-detail">
<div class="result-info">
<div class="result-message">
<img th:src="${setting.domain + 'images/password/success_icon.png'}">
<img th:src="${setting.domain + 'static/images/password/success_icon.png'}">
<span>恭喜,探果帐号喜欢吃鱼的果果重置密码成功</span>
<a class="button result-title-btn" th:href="${setting.domain + 'login.html'}">直接登录</a>
</div>

@ -5,15 +5,15 @@
<title>找回密码_探果网</title>
<meta name="description" content="探果网携手高校名师为考生提供高效的智能备考服务,涵括领域有高考、财会类、建筑工程、职业资格、医卫类、计算机类和学历类等热门考试题库。拥有高校名师丰富的经验,优质的学习资料和备考全阶段的高效服务,助您丰富自我,不断前行!"/>
<meta name="keyword" content="探果网,高校名师,名师专访,名师教案,名师课堂试题库,试卷库,智能题库,历年真题,模拟试题,押题,预测试题,高考,会计证,会计从业,会计师,经济师,施工员,建造师,建筑师,造价师,职业资格,证券资格,考研,计算机考试,建筑考试,财会类,医卫类,护士资格,公务员,知识点,试题,试卷"/>
<link rel="stylesheet" th:href="${domainName + 'css/reset.css'}" />
<link rel="stylesheet" th:href="${domainName + 'css/password/securityCheck.css'}" />
<link type="favicon" rel="shortcut icon" th:href="${domainName + 'images/favicon.png'}" />
<link rel="stylesheet" th:href="${domainName + 'static/css/reset.css'}" />
<link rel="stylesheet" th:href="${domainName + 'static/css/password/securityCheck.css'}" />
<link type="favicon" rel="shortcut icon" th:href="${domainName + 'static/images/favicon.png'}" />
</head>
<body>
<div id="wrapper" class="">
<div id="head">
<div class="mod-header">
<a th:href="${domainName + 'login.html'}"><img th:src="${domainName + 'images/logo_731bc32.png'}" alt="logo"></a>
<a th:href="${domainName + 'login.html'}"><img th:src="${domainName + 'static/images/logo_731bc32.png'}" alt="logo"></a>
</div>
<ul class="mod-userbar">
<li>
@ -82,8 +82,8 @@
</div>
</body>
<script type="text/javascript" th:src="${domainName + 'js/jquery-1.8.3.min.js'}"></script>
<script type="text/javascript" th:src="${domainName + 'js/password/securityCheck.js'}"></script>
<script type="text/javascript" th:src="${domainName + 'static/js/jquery-1.8.3.min.js'}"></script>
<script type="text/javascript" th:src="${domainName + 'static/js/password/securityCheck.js'}"></script>
<script type="text/javascript" th:inline="javascript">
var mainHttp = [[${domainName}]];
</script>

@ -7,9 +7,9 @@
<meta name="description" content="探果网,高考试题,高考试卷,高校试题,名校,名校试题,名校试卷,高校名师,名师专访,名师教案,名师课堂试题库,试卷库,智能题库,历年真题,模拟试题,押题,预测试题,高考,会计证,会计从业,会计师,经济师,施工员,建造师,建筑师,造价师,职业资格,证券资格,考研,计算机考试,建筑考试,财会类,医卫类,护士资格,公务员,知识点,试题,试卷"/>
<meta name="author" content="Tamguo Team" />
<meta name="copyright" content="Tamguo" />
<link rel="stylesheet" th:href="${domainName + 'css/reset.css'}" />
<link rel="stylesheet" th:href="${domainName + 'css/member/register.css'}" />
<link type="favicon" rel="shortcut icon" th:href="${domainName + 'images/favicon.png'}" />
<link rel="stylesheet" th:href="${domainName + 'static/css/reset.css'}" />
<link rel="stylesheet" th:href="${domainName + 'static/css/member/register.css'}" />
<link type="favicon" rel="shortcut icon" th:href="${domainName + 'static/images/favicon.png'}" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/element-ui@2.4.2/lib/theme-chalk/index.css">
</head>
<body>
@ -80,5 +80,5 @@
<script src="https://cdn.jsdelivr.net/npm/vue@2.5.16"></script>
<script src="https://cdn.jsdelivr.net/npm/element-ui@2.4.2/lib/index.js"></script>
<script src="https://cdn.jsdelivr.net/npm/axios@0.18.0/dist/axios.min.js"></script>
<script type="text/javascript" th:src="${domainName + 'js/member/register.js'}"></script>
<script type="text/javascript" th:src="${domainName + 'static/js/member/register.js'}"></script>
</html>
Loading…
Cancel
Save