Fix necessary record (#33)

This commit is contained in:
AceDataCloud committed 2024-04-22 23:46:54 +08:00
1 parent 54f356a08e
commit a144eeae6c
44 files changed
+668 -550

No files matched your search

+8 -4
View File
@@ -49,7 +49,8 @@ class ChatOperator {
{
headers: {
'content-type': 'application/json',
authorization: `Bearer ${options.token}`
authorization: `Bearer ${options.token}`,
'x-record-exempt': 'true'
},
baseURL: BASE_URL_API
}
@@ -81,7 +82,8 @@ class ChatOperator {
{
headers: {
'content-type': 'application/json',
authorization: `Bearer ${options.token}`
authorization: `Bearer ${options.token}`,
'x-record-exempt': 'true'
},
baseURL: BASE_URL_API
}
@@ -98,7 +100,8 @@ class ChatOperator {
{
headers: {
'content-type': 'application/json',
authorization: `Bearer ${options.token}`
authorization: `Bearer ${options.token}`,
'x-record-exempt': 'true'
},
baseURL: BASE_URL_API
}
@@ -118,7 +121,8 @@ class ChatOperator {
{
headers: {
'content-type': 'application/json',
authorization: `Bearer ${options.token}`
authorization: `Bearer ${options.token}`,
'x-record-exempt': 'true'
},
baseURL: BASE_URL_API
}
+24 -12
View File
@@ -30,7 +30,8 @@ class ChatdocOperator {
headers: {
authorization: `Bearer ${options.token}`,
accept: 'application/json',
'content-type': 'application/json'
'content-type': 'application/json',
'x-record-exempt': 'true'
},
baseURL: BASE_URL_API
}
@@ -48,7 +49,8 @@ class ChatdocOperator {
headers: {
authorization: `Bearer ${options.token}`,
accept: 'application/json',
'content-type': 'application/json'
'content-type': 'application/json',
'x-record-exempt': 'true'
},
baseURL: BASE_URL_API
}
@@ -66,7 +68,8 @@ class ChatdocOperator {
headers: {
authorization: `Bearer ${options.token}`,
accept: 'application/json',
'content-type': 'application/json'
'content-type': 'application/json',
'x-record-exempt': 'true'
},
baseURL: BASE_URL_API
}
@@ -83,7 +86,8 @@ class ChatdocOperator {
headers: {
authorization: `Bearer ${options.token}`,
accept: 'application/json',
'content-type': 'application/json'
'content-type': 'application/json',
'x-record-exempt': 'true'
},
baseURL: BASE_URL_API
}
@@ -104,7 +108,8 @@ class ChatdocOperator {
headers: {
authorization: `Bearer ${options.token}`,
accept: 'application/json',
'content-type': 'application/json'
'content-type': 'application/json',
'x-record-exempt': 'true'
},
baseURL: BASE_URL_API
}
@@ -125,7 +130,8 @@ class ChatdocOperator {
headers: {
authorization: `Bearer ${options.token}`,
accept: 'application/json',
'content-type': 'application/json'
'content-type': 'application/json',
'x-record-exempt': 'true'
},
baseURL: BASE_URL_API
}
@@ -154,7 +160,8 @@ class ChatdocOperator {
{
headers: {
accept: 'application/json',
'content-type': 'application/json'
'content-type': 'application/json',
'x-record-exempt': 'true'
},
baseURL: BASE_URL_API
}
@@ -199,7 +206,8 @@ class ChatdocOperator {
headers: {
authorization: `Bearer ${options.token}`,
accept: 'application/json',
'content-type': 'application/json'
'content-type': 'application/json',
'x-record-exempt': 'true'
},
baseURL: BASE_URL_API
}
@@ -217,7 +225,8 @@ class ChatdocOperator {
headers: {
authorization: `Bearer ${options.token}`,
accept: 'application/json',
'content-type': 'application/json'
'content-type': 'application/json',
'x-record-exempt': 'true'
},
baseURL: BASE_URL_API
}
@@ -235,7 +244,8 @@ class ChatdocOperator {
headers: {
authorization: `Bearer ${options.token}`,
accept: 'application/json',
'content-type': 'application/json'
'content-type': 'application/json',
'x-record-exempt': 'true'
},
baseURL: BASE_URL_API
}
@@ -253,7 +263,8 @@ class ChatdocOperator {
{
headers: {
accept: 'application/json',
'content-type': 'application/json'
'content-type': 'application/json',
'x-record-exempt': 'true'
},
baseURL: BASE_URL_API
}
@@ -270,7 +281,8 @@ class ChatdocOperator {
{
headers: {
accept: 'application/json',
'content-type': 'application/json'
'content-type': 'application/json',
'x-record-exempt': 'true'
},
baseURL: BASE_URL_API
}
+4 -3
View File
@@ -2,7 +2,6 @@ import axios, { AxiosResponse } from 'axios';
import {
IMidjourneyImagineRequest,
IMidjourneyImagineResponse,
IMidjourneyImagineTask,
IMidjourneyImagineTaskResponse,
IMidjourneyImagineTasksResponse
} from '@/models';
@@ -20,7 +19,8 @@ class MidjourneyOperator {
headers: {
accept: 'application/json',
'content-type': 'application/json',
authorization: `Bearer ${options.token}`
authorization: `Bearer ${options.token}`,
'x-record-exempt': 'true'
},
baseURL: BASE_URL_API
}
@@ -60,7 +60,8 @@ class MidjourneyOperator {
headers: {
accept: 'application/json',
'content-type': 'application/json',
authorization: `Bearer ${options.token}`
authorization: `Bearer ${options.token}`,
'x-record-exempt': 'true'
},
baseURL: BASE_URL_API
}