forked from yoone/WEB
18 lines
523 B
TypeScript
18 lines
523 B
TypeScript
// @ts-ignore
|
|
/* eslint-disable */
|
|
import { request } from 'umi';
|
|
|
|
/** 此处后端没有提供注释 GET /locales/${param0} */
|
|
export async function localecontrollerGetlocale(
|
|
// 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
|
|
params: API.localecontrollerGetlocaleParams,
|
|
options?: { [key: string]: any },
|
|
) {
|
|
const { lang: param0, ...queryParams } = params;
|
|
return request<any>(`/locales/${param0}`, {
|
|
method: 'GET',
|
|
params: { ...queryParams },
|
|
...(options || {}),
|
|
});
|
|
}
|