add utf8 encoding
This commit is contained in:
parent
0074e954dd
commit
9eddfae238
Binary file not shown.
Binary file not shown.
BIN
output.xlsx
BIN
output.xlsx
Binary file not shown.
BIN
output_副本.xlsx
BIN
output_副本.xlsx
Binary file not shown.
|
|
@ -106,7 +106,7 @@ api_key = '25bda2c39c0f8ca0'
|
|||
api_secret = 'e0008b9b9727cb8ceea5a132dbe62495'
|
||||
token = get_access_token(api_key, api_secret)
|
||||
|
||||
assistant_id = "669e203f9752cb52401d2871"
|
||||
assistant_id = "66a9feedfc354408c4de57dc"
|
||||
access_token = token
|
||||
|
||||
excelData = []
|
||||
|
|
@ -114,7 +114,7 @@ excelData = []
|
|||
# load customer aqusition process
|
||||
for index in range(0, 4):
|
||||
file_path = f'customer_aqusition_{index}.json'
|
||||
customer_aqusition_process = json.loads(open(file_path, 'r').read())
|
||||
customer_aqusition_process = json.loads(open(file_path, 'r',encoding='utf-8').read())
|
||||
customer_aqusition_process = process_nodes(customer_aqusition_process)
|
||||
excelData.append(customer_aqusition_process)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue