Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
周伟奇
/
bmw-ocr
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
740f03f4
authored
2024-07-11 15:18:32 +0800
by
冯轩
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
log
1 parent
021831a7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
0 deletions
src/apps/doc/views.py
src/apps/doc/views.py
View file @
740f03f
...
...
@@ -1077,6 +1077,7 @@ class DocView(DocGenericView, DocHandler):
user_role
=
rh
.
get_token
(
token
[
-
11
:])
self
.
running_log
.
info
(
'[api doc] [user_role={0} business_type={1}] '
.
format
(
user_role
,
business_type
))
if
user_role
or
user_role
==
'-1'
or
(
user_role
==
'1'
and
business_type
==
'HIL'
)
or
(
user_role
==
'2'
and
business_type
==
'AFC'
):
self
.
running_log
.
info
(
'[api doc] [no permission]'
)
pagination
=
{
'current'
:
page
,
'total'
:
0
,
'page_size'
:
page_size
}
res
=
{
'pagination'
:
pagination
,
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
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 post a comment