Commit f7f990a4 authored by 崔为之's avatar 崔为之 💪🏽

Update project

parent 8b1c09c9
...@@ -12,6 +12,7 @@ ...@@ -12,6 +12,7 @@
import json import json
from flask import Blueprint, current_app, request, jsonify from flask import Blueprint, current_app, request, jsonify
from flask_restful import Api
from application.services import UserService from application.services import UserService
from marshmallow import ValidationError from marshmallow import ValidationError
...@@ -20,6 +21,7 @@ from application.utils import ElasticsearchUtil ...@@ -20,6 +21,7 @@ from application.utils import ElasticsearchUtil
from application.common import ConfigHelper from application.common import ConfigHelper
user_api = Blueprint('user_api', __name__) user_api = Blueprint('user_api', __name__)
api_users = Api(user_api)
@user_api.route('/users', methods=['GET']) @user_api.route('/users', methods=['GET'])
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment