Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
U
unify_api2
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
chaonan
unify_api2
Commits
6e1497b5
Commit
6e1497b5
authored
Mar 06, 2024
by
ZZH
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix qkadmin 2024-03-6
parent
64d66d9a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
login_auth.py
unify_api/modules/common/procedures/login_auth.py
+1
-1
new_mgr.py
unify_api/modules/qkadmin/views/new_mgr.py
+1
-1
No files found.
unify_api/modules/common/procedures/login_auth.py
View file @
6e1497b5
...
@@ -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
...
...
unify_api/modules/qkadmin/views/new_mgr.py
View file @
6e1497b5
...
@@ -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
ge
t_news_pages
(
request
,
body
:
NewsPagesReq
)
->
NewsPagesRsp
:
async
def
pos
t_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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment