PythonFlask与炼金术

2024-03-29 09:44:06 发布

您现在位置:Python中文网/ 问答频道 /正文

我在烧瓶中开发了此api:

https://gist.github.com/scaltro/ca5a4a6256ff34a4e4163afacc95c6e0

当我执行此get-on api时:

/api/search?query=dsadsads&offset=0&limit=15&sort=recommended&search_id=1519341673454

返回此错误:

https://gist.github.com/scaltro/374b4303e275e17475eb0b488aa4bb64

moddels数据库如下所示:

https://gist.github.com/scaltro/37ab7d6180e88d1ae23b55142d186c39

我输了一整晚,我不知道问题出在哪里,只有在get中使用查询搜索时才返回此错误


Tags: httpsgithubcomapisearchget烧瓶on