740f03f4 by 冯轩

log

1 parent 021831a7
......@@ -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,
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!