687ba1a3 by 冯轩

init 5166

1 parent 46cd5314
......@@ -620,7 +620,7 @@ class UploadDocView(GenericView, DocHandler):
self.running_log.info('[doc upload applicationId-{0}] [ocr result saved]'.format(application_id))
if data_source == consts.DATA_SOURCE_LIST[1]:
if document_name.endswith('-证书.pdf') or document_name.endswith('-证书'):
if document_name.endswith('-证书.pdf') or document_name.endswith('-证书') or '-证书-bk-' in document_name:
self.running_log.info('[doc upload success] [eapp license skip] [args={0}]'.format(args))
return response.ok()
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!