log
Showing
1 changed file
with
1 additions
and
0 deletions
... | @@ -1077,6 +1077,7 @@ class DocView(DocGenericView, DocHandler): | ... | @@ -1077,6 +1077,7 @@ class DocView(DocGenericView, DocHandler): |
1077 | user_role = rh.get_token(token[-11:]) | 1077 | user_role = rh.get_token(token[-11:]) |
1078 | self.running_log.info('[api doc] [user_role={0} business_type={1}] '.format(user_role, business_type)) | 1078 | self.running_log.info('[api doc] [user_role={0} business_type={1}] '.format(user_role, business_type)) |
1079 | if user_role or user_role == '-1' or (user_role == '1' and business_type == 'HIL') or (user_role == '2' and business_type == 'AFC'): | 1079 | if user_role or user_role == '-1' or (user_role == '1' and business_type == 'HIL') or (user_role == '2' and business_type == 'AFC'): |
1080 | self.running_log.info('[api doc] [no permission]') | ||
1080 | pagination = {'current': page, 'total': 0, 'page_size': page_size} | 1081 | pagination = {'current': page, 'total': 0, 'page_size': page_size} |
1081 | res = { | 1082 | res = { |
1082 | 'pagination': pagination, | 1083 | 'pagination': pagination, | ... | ... |
-
Please register or sign in to post a comment