This commit is contained in:
AceDataCloud committed 2023-04-12 01:21:07 +08:00
1 parent 5400cc08de
commit ca5f39b3fa
16 files changed
+244 -113

No files matched your search

+1 -4
View File
@@ -5,14 +5,11 @@ export interface IQuery {
token: string;
}
const baseUrl = 'https://api.zhishuyun.com';
class ChatGPTOperator {
async post(data: IRequest, query: IQuery, config?: AxiosRequestConfig): Promise<AxiosResponse<IResponse>> {
return await axios.post(`/chatgpt`, data, {
...config,
params: query,
baseURL: baseUrl
params: query
});
}
}