diff --git a/app/templates/userpage_get.html b/app/templates/userpage_get.html
index 8b11365..be503e6 100644
--- a/app/templates/userpage_get.html
+++ b/app/templates/userpage_get.html
@@ -28,7 +28,13 @@
{{ flashed_messages|safe }}
- 下一篇 Next Article
+ 下一篇 Next Article
+ {% if session.get('articleID') != session.get('old_articleID') %}
+ {% if session.get('old_articleID') != None %}
+ 上一篇 Previous Article
+ {% endif%}
+ {% endif %}
+
阅读文章并回答问题
{{ today_article|safe }}
diff --git a/app/user_service.py b/app/user_service.py
index c8ac8a1..5148a60 100644
--- a/app/user_service.py
+++ b/app/user_service.py
@@ -29,12 +29,25 @@ def user_reset(username):
:param username: 用户名
:return: 返回页面内容
'''
+ session['old_articleID'] = session.get('articleID')
if request.method == 'GET':
session['articleID'] = None
return redirect(url_for('user_bp.userpage', username=username))
else:
return 'Under construction'
+@userService.route("//back", methods=['GET'])
+def user_back(username):
+ '''
+ 用户界面
+ :param username: 用户名
+ :return: 返回页面内容
+ '''
+ if request.method == 'GET':
+ session['articleID'] = session.get('old_articleID')
+ return redirect(url_for('user_bp.userpage', username=username))
+
+
@userService.route("///unfamiliar", methods=['GET', 'POST'])
def unfamiliar(username, word):