用户接口 滑块
This commit is contained in:
parent
5d7316b1ee
commit
76aa756022
|
@ -7,7 +7,7 @@ user_route = Blueprint('user', __name__)
|
|||
|
||||
|
||||
@user_route.route('/login', methods=['POST'])
|
||||
# @check_block
|
||||
@check_block
|
||||
def login():
|
||||
"""
|
||||
登录
|
||||
|
@ -29,7 +29,7 @@ def login():
|
|||
|
||||
|
||||
@user_route.route('/register', methods=['POST'])
|
||||
# @check_block
|
||||
@check_block
|
||||
def register():
|
||||
"""
|
||||
注册
|
||||
|
@ -51,7 +51,7 @@ def register():
|
|||
|
||||
|
||||
@user_route.route('/change_pwd', methods=['POST'])
|
||||
# @check_block
|
||||
@check_block
|
||||
def change_pwd():
|
||||
"""
|
||||
修改密码
|
||||
|
@ -72,7 +72,7 @@ def change_pwd():
|
|||
|
||||
|
||||
@user_route.route('/change_email', methods=['POST'])
|
||||
# @check_block
|
||||
@check_block
|
||||
@verify_token
|
||||
def change_email(**kwargs):
|
||||
"""
|
||||
|
|
Loading…
Reference in New Issue