new framwork
This commit is contained in:
7
client/src/api/system.ts
Normal file
7
client/src/api/system.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
import { GET, POST, PUT } from './request';
|
||||
import type { ChatModelItemType } from '@/constants/model';
|
||||
import type { InitDateResponse } from '@/pages/api/system/getInitData';
|
||||
|
||||
export const getInitData = () => GET<InitDateResponse>('/system/getInitData');
|
||||
|
||||
export const getSystemModelList = () => GET<ChatModelItemType[]>('/system/getModels');
|
||||
Reference in New Issue
Block a user