统一甲屿云命名体系
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
import { adminApi } from '@/api/client'
|
||||
import type { PageResult } from '@/types/common'
|
||||
import type { Product } from '@/types/manager'
|
||||
|
||||
export const managerProductsApi = {
|
||||
list(params: { page: number; size: number; keyword?: string }): Promise<PageResult<Product> | Product[]> {
|
||||
return adminApi.get('/manager/products', { params })
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user