12 lines
325 B
TypeScript
12 lines
325 B
TypeScript
import { request } from '@/api/request'
|
|
import type { ProductOption } from './complete.types'
|
|
|
|
/** POST /app/device/productOptions — 获取产品型号下拉列表 */
|
|
export function fetchProductOptions() {
|
|
return request<ProductOption[]>({
|
|
url: '/app/device/productOptions',
|
|
method: 'POST',
|
|
data: {},
|
|
})
|
|
}
|