|
@@ -1506,7 +1506,6 @@ class CronComparedDataView(View):
|
|
|
thread = threading.Thread(target=CronComparedDataView.thread_compared_paypal_order,
|
|
|
args=(order_list['transaction_details'], end_date))
|
|
|
thread.start() # 启动线程
|
|
|
- thread.join() # 主线程等待子线程结束
|
|
|
return response.json(0)
|
|
|
except Exception as e:
|
|
|
LOGGER.info('CronComparedDataView.compared_paypal_order, errLine:{}, errMsg:{}'.format(
|
|
@@ -1592,7 +1591,6 @@ class CronComparedDataView(View):
|
|
|
thread = threading.Thread(target=CronComparedDataView.thread_compared_wechat_order,
|
|
|
args=(order_list,))
|
|
|
thread.start()
|
|
|
- thread.join() # 主线程等待子线程结束
|
|
|
return response.json(0)
|
|
|
except Exception as e:
|
|
|
LOGGER.info('CronComparedDataView.compared_wechat_order, errLine:{}, errMsg:{}'.format(
|
|
@@ -1652,7 +1650,6 @@ class CronComparedDataView(View):
|
|
|
thread = threading.Thread(target=CronComparedDataView.thread_compared_alipay_order,
|
|
|
args=(order_list,))
|
|
|
thread.start()
|
|
|
- thread.join() # 主线程等待子线程结束
|
|
|
return response.json(0)
|
|
|
except Exception as e:
|
|
|
LOGGER.info('CronComparedDataView.compared_alipay_order, errLine:{}, errMsg:{}'.format(
|
|
@@ -1702,7 +1699,6 @@ class CronComparedDataView(View):
|
|
|
thread = threading.Thread(target=CronComparedDataView.thread_compared_ansjer_order,
|
|
|
args=(list(order_qs), start_date))
|
|
|
thread.start() # 启动线程
|
|
|
- thread.join() # 主线程等待子线程结束
|
|
|
return response.json(0)
|
|
|
except Exception as e:
|
|
|
LOGGER.info('CronComparedDataView.compared_ansjer_order, errLine:{}, errMsg:{}'.format(
|