597c2d78 by 周伟奇

open compare

1 parent 8ae1670d
......@@ -926,9 +926,9 @@ class Command(BaseCommand, LoggerMixin):
self.log_base, task_str, res_obj.id))
# 触发比对
try:
pass
# compare.apply_async((doc.application_id, business_type, None, res_obj.id),
# queue='queue_compare')
# pass
compare.apply_async((doc.application_id, business_type, None, res_obj.id),
queue='queue_compare')
except Exception as e:
self.online_log.error(
'{0} [process error (comparison info send)] [task={1}] [error={2}]'.format(
......
......@@ -346,7 +346,7 @@ class CompareView(GenericView):
corporate_cus_info=corporate_cus_info,
)
# 触发比对
# compare.apply_async((application_id, business_type, uniq_seq, None), queue='queue_compare')
compare.apply_async((application_id, business_type, uniq_seq, None), queue='queue_compare')
return response.ok()
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!