feat(work): 新增服务商会话内容存档相关接口

This commit is contained in:
Fu Diwei
2024-03-14 21:41:24 +08:00
parent 9a6712606e
commit 4676061e11
123 changed files with 4422 additions and 4 deletions

View File

@@ -0,0 +1,18 @@
{
"analyze_task": 1,
"jobid": "JOBID",
"msg_list": [
{
"msgid": "MSGID1",
"encrypt_info": {
"secret_key": "SECRETKEY1"
}
},
{
"msgid": "MSGID2",
"encrypt_info": {
"secret_key": "SECRETKEY2"
}
}
]
}

View File

@@ -0,0 +1,12 @@
{
"errcode": 0,
"errmsg": "ok",
"jobid": "JOBID",
"fail_list": [
{
"errcode": 710601,
"errmsg": "xxx",
"msgid": "MSGID2"
}
]
}

View File

@@ -0,0 +1,26 @@
{
"errcode": 0,
"errmsg": "ok",
"status": 1,
"analyze_result": {
"result_id": "RESULTID1",
"service_encrypt_info": {
"encrypted_secret_key": "KEYAAAAAAABBBBBB",
"public_key_ver": 1
}
},
"analyze_result_list": [
{
"errcode": 0,
"errmsg": "ok",
"msgid": "MSGID1",
"sentiment_result": 2,
"spam_result": 1
},
{
"errcode": 710601,
"errmsg": "xxx",
"msgid": "MSGID4"
}
]
}