You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
356 B
13 lines
356 B
2 years ago
|
import { defHttp } from '@/utils/http/axios'
|
||
|
import { DemoOptionsItem, selectParams } from './model/optionsModel'
|
||
|
enum Api {
|
||
|
OPTIONS_LIST = '/select/getDemoOptions'
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* @description: Get sample options value
|
||
|
*/
|
||
|
export const optionsListApi = (params?: selectParams) => {
|
||
|
return defHttp.get<DemoOptionsItem[]>({ url: Api.OPTIONS_LIST, params })
|
||
|
}
|