Commit 8d6344e0 authored by 邱阿朋's avatar 邱阿朋

优化

parent 8df1a750
...@@ -87,7 +87,7 @@ def export_item_read_data(invoice_id): ...@@ -87,7 +87,7 @@ def export_item_read_data(invoice_id):
filename = query_params.get('fileName', ['未找到文件名'])[0] filename = query_params.get('fileName', ['未找到文件名'])[0]
report_file_tmp_dir = f"coop\\{invoice_id}\\{filename}\\" report_file_tmp_dir = f"coop\\{invoice_id}\\{filename}\\"
host = domain.switch_domain(country) host = domain.switch_domain(country)
page.download(host + link, report_file_tmp_dir, show_msg=True) page.download(host + link, report_file_tmp_dir, show_msg=False)
report_file = report_file_tmp_dir + "BackupReport.xls" report_file = report_file_tmp_dir + "BackupReport.xls"
file.wait_for_downloads(report_file) file.wait_for_downloads(report_file)
......
pip.exe install -i https://mirrors.cloud.tencent.com/pypi/simple -r requirements.txt pip.exe install -i https://mirrors.cloud.tencent.com/pypi/simple -r requirements.txt
pyinstaller -F -n refund.exe .\src\invoices.py pyinstaller -F -n refund.exe .\src\refund.py
pyinstaller -F -n return_goods.exe .\src\returns.py pyinstaller -F -n return_goods.exe .\src\return_goods.py
pyinstaller -F -n spa_search.exe .\src\coop.py pyinstaller -F -n spa_search.exe .\src\spa_search.py
\ No newline at end of file \ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment