RODY/app/utils/StandardizedOutput.py
552068321@qq.com 6f7de660aa first commit
2022-11-04 17:37:08 +08:00

6 lines
165 B
Python

from flask import jsonify
def output_wrapped(status: int = 0, message: str = "", data: object = None):
return jsonify(code=status, message=message, data=data)