feat: 迭代

This commit is contained in:
2026-05-13 17:49:33 +08:00
parent 554bb702a2
commit e471b75f59
180 changed files with 22683 additions and 3691 deletions
+13
View File
@@ -17,6 +17,10 @@ export function getMerchantList(params: any) {
return request.get('/admin/merchants', { params });
}
export function getMerchantDetail(id: number) {
return request.get(`/admin/merchants/${id}`);
}
export function approveMerchant(id: number) {
return request.put(`/admin/merchants/${id}/approve`);
}
@@ -54,3 +58,12 @@ export function getOrderList(params: any) {
export function getOrderDetail(id: number) {
return request.get(`/admin/orders/${id}`);
}
// 统计数据
export function getPlatformStatistics() {
return request.get('/admin/finance/reports/overview');
}
export function getOrderTrend(params: { startDate: string; endDate: string }) {
return request.get('/admin/finance/reports/trend', { params });
}