|
|
@ -1,6 +1,5 @@ |
|
|
import { defHttp } from '/@/utils/http/axios'; |
|
|
import { defHttp } from '/@/utils/http/axios'; |
|
|
import { DemoOptionsGetResultModel } from './model/optionsModel'; |
|
|
import { DemoOptionsItem } from './model/optionsModel'; |
|
|
|
|
|
|
|
|
enum Api { |
|
|
enum Api { |
|
|
OPTIONS_LIST = '/select/getDemoOptions', |
|
|
OPTIONS_LIST = '/select/getDemoOptions', |
|
|
} |
|
|
} |
|
|
@ -8,5 +7,4 @@ enum Api { |
|
|
/** |
|
|
/** |
|
|
* @description: Get sample options value |
|
|
* @description: Get sample options value |
|
|
*/ |
|
|
*/ |
|
|
export const optionsListApi = () => |
|
|
export const optionsListApi = () => defHttp.get<DemoOptionsItem[]>({ url: Api.OPTIONS_LIST }); |
|
|
defHttp.get<DemoOptionsGetResultModel>({ url: Api.OPTIONS_LIST }); |
|
|
|
|
|
|