feat(web): add apps statistics api

This commit is contained in:
zhaoying
2026-01-28 14:49:30 +08:00
parent 9e4a527675
commit 8984ba7aef

View File

@@ -108,4 +108,8 @@ export const getShareToken = (share_token: string, user_id: string) => {
// 复制应用
export const copyApplication = (app_id: string, new_name: string) => {
return request.post(`/apps/${app_id}/copy?new_name=${new_name}`)
}
}
// 数据统计
export const getAppStatistics = (app_id: string, data: { start_date: number; end_date: number; }) => {
return request.get(`/apps/${app_id}/statistics`, data)
}