597c2d78 by 周伟奇

open compare

1 parent 8ae1670d
...@@ -926,9 +926,9 @@ class Command(BaseCommand, LoggerMixin): ...@@ -926,9 +926,9 @@ class Command(BaseCommand, LoggerMixin):
926 self.log_base, task_str, res_obj.id)) 926 self.log_base, task_str, res_obj.id))
927 # 触发比对 927 # 触发比对
928 try: 928 try:
929 pass 929 # pass
930 # compare.apply_async((doc.application_id, business_type, None, res_obj.id), 930 compare.apply_async((doc.application_id, business_type, None, res_obj.id),
931 # queue='queue_compare') 931 queue='queue_compare')
932 except Exception as e: 932 except Exception as e:
933 self.online_log.error( 933 self.online_log.error(
934 '{0} [process error (comparison info send)] [task={1}] [error={2}]'.format( 934 '{0} [process error (comparison info send)] [task={1}] [error={2}]'.format(
......
...@@ -346,7 +346,7 @@ class CompareView(GenericView): ...@@ -346,7 +346,7 @@ class CompareView(GenericView):
346 corporate_cus_info=corporate_cus_info, 346 corporate_cus_info=corporate_cus_info,
347 ) 347 )
348 # 触发比对 348 # 触发比对
349 # compare.apply_async((application_id, business_type, uniq_seq, None), queue='queue_compare') 349 compare.apply_async((application_id, business_type, uniq_seq, None), queue='queue_compare')
350 return response.ok() 350 return response.ok()
351 351
352 post.openapi_doc = ''' 352 post.openapi_doc = '''
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!