2e2c0a83 by 周伟奇

fix bug

1 parent 51567871
......@@ -100,10 +100,10 @@ class AdminLoginView(IWABaseView, GenericView):
def get(self, request, *args, **kwargs):
code = request.GET.get('code', '')
# is_admin = request.GET.get('state', '') == 'admin'
q_number = self.get_q_number(conf.IWA_URL, code, conf.IWA_REDIRECT_URI, client_id_base64)
q_number = self.get_q_number(conf.IWA_URL, code, conf.IWA_ADMIN_REDIRECT_URI, client_id_base64)
# self.running_log.info('code={0}, is_admin={1}'.format(code, is_admin))
self.running_log.info('[admin_users.iwalogin] [username: {0}] [params: {1}]'.format(q_number, request.data))
self.running_log.info('[admin_users.iwalogin] [username: {0}] [params: {1}]'.format(q_number, request.GET))
is_valid, data = self.validate_admin(q_number)
......
......@@ -1850,7 +1850,7 @@ for _, _, _, tmp_bs_reason in BS_COMPARE_LOGIC.values():
# ['承租人姓名', '承租人证件号', '承租人签字', '共同承租人姓名', '共同承租人证件号', '共同承租人签字', '保证人姓名1', '保证人证件号1', '保证人签字1', '保证人姓名2', '保证人证件号2', '保证人签字2']
HIL_CONTRACT_1_COMPARE_LOGIC = {
'合同编号-每页': ('合同编号-每页', 'se_list_compare', {}, '售后回租合同中合同编号系统不一致'),
'合同编号-正文': ('合同编号-正文', 'se_common_compare', {}, '售后回租合同第一页正文中合同编号系统不一致'),
'合同编号-正文': ('合同编号-正文', 'se_common_compare', {}, '售后回租合同正文中合同编号系统不一致'),
'车辆识别代码': ('车辆识别代码', 'se_common_compare', {}, '售后回租合同车辆识别代码与系统车架号不一致'),
'车辆卖方': ('车辆卖方', 'se_common_compare', {}, '售后回租合同车辆卖方与系统经销商不一致'),
'车辆原始销售价格': ('车辆原始销售价格', 'se_amount_str_compare', {}, '售后回租合同车辆原始销售价格与系统车辆价格不一致'),
......
......@@ -1005,10 +1005,10 @@ class DocView(GenericView, DocHandler):
class CompareResultView(GenericView):
# permission_classes = []
# authentication_classes = []
permission_classes = [IsAuthenticated]
authentication_classes = [OAuth2AuthenticationWithUser]
permission_classes = []
authentication_classes = []
# permission_classes = [IsAuthenticated]
# authentication_classes = [OAuth2AuthenticationWithUser]
# 获取比对结果
@use_args(compare_result_args, location='querystring')
......@@ -1307,10 +1307,10 @@ class SEContractView(GenericView):
class AutoSettlementView(GenericView):
# permission_classes = []
# authentication_classes = []
permission_classes = [IsAuthenticated]
authentication_classes = [OAuth2AuthenticationWithUser]
permission_classes = []
authentication_classes = []
# permission_classes = [IsAuthenticated]
# authentication_classes = [OAuth2AuthenticationWithUser]
# 获取auto settlement列表
@use_args(auto_list_args, location='querystring')
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!