Commit 6e1497b5 authored by ZZH's avatar ZZH

fix qkadmin 2024-03-6

parent 64d66d9a
...@@ -174,7 +174,7 @@ async def auth_verify_cid(request): ...@@ -174,7 +174,7 @@ async def auth_verify_cid(request):
# 智维u, 直接返回 # 智维u, 直接返回
if product in [10, 13]: if product in [10, 13]:
return return
cid, cids, cid_list = None, None, None cid, cids, cid_list = None, None, None
# 2. 如果参数传了产品类型, 根据参数获取, 后续修改不再根据host取product # 2. 如果参数传了产品类型, 根据参数获取, 后续修改不再根据host取product
args = request.json args = request.json
......
...@@ -47,7 +47,7 @@ async def post_revise_news_seo(request, body: ReviseNewsSeoReq) -> SuccessRsp: ...@@ -47,7 +47,7 @@ async def post_revise_news_seo(request, body: ReviseNewsSeoReq) -> SuccessRsp:
@summary("后台文章列表") @summary("后台文章列表")
async def get_news_pages(request, body: NewsPagesReq) -> NewsPagesRsp: async def post_news_pages(request, body: NewsPagesReq) -> NewsPagesRsp:
page_num = int(body.page_num) page_num = int(body.page_num)
page_size = int(body.page_size) page_size = int(body.page_size)
news_type = int(body.page_size) if body.page_size else 0 news_type = int(body.page_size) if body.page_size else 0
......
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