认证高级PHP讲师
Ugh. . Isn’t there already a plan in the information you found? Why not give it a try?
from flask_restful import Resource class Foo(Resource): decorators = [auth.login_required] def get(self): pass def post(self): pass
Ugh. . Isn’t there already a plan in the information you found? Why not give it a try?