优化财务仪表盘UI与快捷时间筛选

This commit is contained in:
yml2213
2026-08-20 16:10:55 +08:00
parent 80e329a604
commit 9a52b51c89
25 changed files with 1626 additions and 438 deletions
+7 -2
View File
@@ -240,8 +240,13 @@ export async function fetchAdminMohongProduct(id: number | string) {
return data.data
}
export async function createAdminMohongProduct(payload: Partial<MohongProduct> & { title: string; price_cent: number }) {
const { data } = await apiClient.post<ApiResponse<MohongProduct>>('/admin/crash/products', payload)
export async function createAdminMohongProduct(
payload: Partial<MohongProduct> & { title: string; price_cent: number }
) {
const { data } = await apiClient.post<ApiResponse<MohongProduct>>(
'/admin/crash/products',
payload
)
return data.data
}