add workflow 天润Smart-ccc客户数据,dev
This commit is contained in:
parent
645d6eb781
commit
dc52287cd1
|
@ -202,7 +202,7 @@ if __name__ == "__main__":
|
|||
id=item['value']
|
||||
print(f'客户id:{id},开始请求数据')
|
||||
resD = request_detail_signature_post(id)
|
||||
print(f'请求数据结束{id},结果:{resD}')
|
||||
print(f'请求数据结束{id}')
|
||||
if 'customer' in resD:
|
||||
ids.append(id)
|
||||
dataList = resD['customer']
|
||||
|
@ -212,7 +212,7 @@ if __name__ == "__main__":
|
|||
print(f"请求客户资料详情(id:{id})失败,错误信息:{error}")
|
||||
load_detail_exp_to_db(id)
|
||||
except Exception as e:
|
||||
print(f'请求客户资料详情(id:{id})异常, )异常信息:{e}')
|
||||
print(f'请求客户资料详情(id:{id})异常,异常信息:{e}')
|
||||
load_detail_exp_to_db(data['id'])
|
||||
print(f'444:{ids}')
|
||||
if len(ids) > 0:
|
||||
|
|
Loading…
Reference in New Issue