优化财务仪表盘UI与快捷时间筛选
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user