mirror of
https://github.com/labring/FastGPT.git
synced 2025-10-20 18:54:09 +00:00
ts and app detail
This commit is contained in:
@@ -46,7 +46,7 @@ export const triggerModelCollection = (appId: string) =>
|
||||
|
||||
// ====================== data
|
||||
export const getAppTotalUsage = (data: { appId: string }) =>
|
||||
POST<{ date: Date; total: number }[]>(`/app/data/totalUsage`, {
|
||||
POST<{ date: String; total: number }[]>(`/app/data/totalUsage`, {
|
||||
...data,
|
||||
start: addDays(new Date(), -13),
|
||||
end: addDays(new Date(), 1)
|
||||
|
Reference in New Issue
Block a user