摘要: 创建对应得API文件,比如xxx1 做了什么呢,实例化一个fastapi蓝图对象, testplat = APIRouter() 然后使用该属性装饰器定义路由 from fastapi import APIRouter testplat = APIRouter() res = { "code": 2 阅读全文
posted @ 2022-06-10 18:19 南风。 阅读(803) 评论(0) 推荐(0) 编辑