From f7f990a4c5152e2a51cf46e5b34e52c392534f0e Mon Sep 17 00:00:00 2001 From: cuiweizhi <560397@gree.com.cn> Date: Sat, 4 Nov 2023 16:14:39 +0800 Subject: [PATCH] Update project --- application/views/user/user.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/application/views/user/user.py b/application/views/user/user.py index dc76b45..db5afb4 100644 --- a/application/views/user/user.py +++ b/application/views/user/user.py @@ -12,6 +12,7 @@ import json from flask import Blueprint, current_app, request, jsonify +from flask_restful import Api from application.services import UserService from marshmallow import ValidationError @@ -20,6 +21,7 @@ from application.utils import ElasticsearchUtil from application.common import ConfigHelper user_api = Blueprint('user_api', __name__) +api_users = Api(user_api) @user_api.route('/users', methods=['GET']) -- GitLab