|
@@ -1310,7 +1310,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(
|
|
@@ -1396,7 +1395,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(
|
|
@@ -1456,7 +1454,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(
|
|
@@ -1506,7 +1503,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(
|