Remove useless code (#4416)

This commit is contained in:
Garfield Dai 2024-05-15 16:14:49 +08:00 committed by GitHub
commit dd94931116
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
26 changed files with 466 additions and 230 deletions

View file

@ -0,0 +1,12 @@
from flask_restful import Resource
from controllers.web import api
from services.feature_service import FeatureService
class SystemFeatureApi(Resource):
def get(self):
return FeatureService.get_system_features().dict()
api.add_resource(SystemFeatureApi, '/system-features')