|
@@ -4,6 +4,7 @@ from model.ComUtils import md5
|
|
import requests
|
|
import requests
|
|
from model.ComUtils import split_int
|
|
from model.ComUtils import split_int
|
|
from app.api_data.platform_order.order_util import save_order
|
|
from app.api_data.platform_order.order_util import save_order
|
|
|
|
+from model.DingTalkUtils import DingTalkUtils
|
|
ut = DateUtils()
|
|
ut = DateUtils()
|
|
|
|
|
|
def get_yuewen_order_task(st, et, account):
|
|
def get_yuewen_order_task(st, et, account):
|
|
@@ -71,7 +72,8 @@ def get_yuewen_order_task(st, et, account):
|
|
|
|
|
|
if not response_result_json.get('data'):
|
|
if not response_result_json.get('data'):
|
|
print(response_result_json)
|
|
print(response_result_json)
|
|
- raise
|
|
|
|
|
|
+ DingTalkUtils.send('阅文订单拉取失败')
|
|
|
|
+
|
|
|
|
|
|
response_data = response_result_json['data']
|
|
response_data = response_result_json['data']
|
|
total_count = response_data['total_count']
|
|
total_count = response_data['total_count']
|