|
@@ -1,29 +1,9 @@
|
|
|
-'''
|
|
|
-招投标文件预审查
|
|
|
-
|
|
|
-1. 解析Bidding_document_extract中all_tables.json结果
|
|
|
-'''
|
|
|
from tools import BaseMethods
|
|
|
from pprint import pprint
|
|
|
import re
|
|
|
import logging
|
|
|
import requests
|
|
|
-# from bidding_document_extract.get_Bidding_info import PdfExtractAttr_
|
|
|
-# from bidding_document_extract.get_bidding_info import PdfExtractAttr
|
|
|
|
|
|
-chinese_num_map = {
|
|
|
- '零': 0,
|
|
|
- '一': 1,
|
|
|
- '二': 2,
|
|
|
- '三': 3,
|
|
|
- '四': 4,
|
|
|
- '五': 5,
|
|
|
- '六': 6,
|
|
|
- '七': 7,
|
|
|
- '八': 8,
|
|
|
- '九': 9,
|
|
|
- '十': 10
|
|
|
-}
|
|
|
|
|
|
def create_logger(log_path):
|
|
|
"""
|
|
@@ -336,20 +316,6 @@ class DocumentPreReview():
|
|
|
|
|
|
|
|
|
|
|
|
-from fastapi import FastAPI
|
|
|
-import uvicorn
|
|
|
-app = FastAPI()
|
|
|
-
|
|
|
-@app.post('get_pre_review')
|
|
|
-def get_pre_review():
|
|
|
-
|
|
|
- result = {
|
|
|
- "":""
|
|
|
- }
|
|
|
- return result
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
if __name__ == '__main__':
|
|
|
path_list = []
|
|
|
for path_ in path_list:
|