open compare
Showing
2 changed files
with
4 additions
and
4 deletions
| ... | @@ -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 = ''' | ... | ... |
-
Please register or sign in to post a comment