740f03f4 by 冯轩

log

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