胖蔡叨叨叨
你听我说

标签:路由

Python

Sanic 路由

胖蔡阅读(410)赞(0)

路由允许用户为不同的URL端点指定处理程序函数。 基本路线如下所示,其中 app 是的实例 Sanic 班级: from sanic.response import json @app.route("/") async def test(r...