Commit 3f7cc00b authored by ZZH's avatar ZZH

fix news 2024-03-8

parent 3b60c56d
...@@ -71,7 +71,7 @@ async def post_news_detail(request, body: NewsInfoReq) -> NewsInfoRsp: ...@@ -71,7 +71,7 @@ async def post_news_detail(request, body: NewsInfoReq) -> NewsInfoRsp:
return NewsInfoRsp(title=r["title"], news_type=r["news_type"], return NewsInfoRsp(title=r["title"], news_type=r["news_type"],
keywords=r["keywords"], contents=r["contents"], keywords=r["keywords"], contents=r["contents"],
news_url=r["news_url"], cover_url=r["cover_url"], news_url=r["news_url"], cover_url=r["cover_url"],
pub_time=r["pub_time"]) pub_time=str(r["pub_time"]))
@summary("置顶/取消置顶文章") @summary("置顶/取消置顶文章")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment