You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
554 B

7 months ago
from sanic import Blueprint, Request, json
from sanic.log import logger
bp_sdo_misc = Blueprint("sdo_misc")
@bp_sdo_misc.route("/report/ge/app", methods=["GET", "POST"])
async def report(request: Request):
# logger.debug(request.body.decode())
return json({ "code": 0, "msg": "", "data": { "needReport": 0 } })
@bp_sdo_misc.route("/agreement/all", methods=["GET", "POST"])
async def agreement(request: Request):
logger.debug(request.body.decode())
return json({ "return_code": 0, "error_type": 0, "return_message": "", "data": { } })