38acff43 by 周伟奇

cms switch

1 parent 20d2fd06
......@@ -2769,7 +2769,11 @@ def se_compare(application_id, application_entity, ocr_res_id, last_obj, ocr_res
traceback.format_exc()))
# cms结果发送
# if is_cms:
is_cms_send = Configs.objects.filter(id=2).first()
if is_cms_send is not None and is_cms_send.value == 'N':
compare_log.info('{0} [SE] [cms closed] [entity={1}] [id={2}] [ocr_res_id={3}]'.format(
log_base, application_entity, application_id, ocr_res_id))
return successful_at_this_level
try:
application_link = '{0}/showList/showList?entity={1}&scheme={2}&case_id={3}'.format(
conf.BASE_URL, application_entity, consts.COMPARE_DOC_SCHEME_LIST[1], application_id)
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!