feat(service): openapi 适配

This commit is contained in:
feige996
2025-09-23 18:09:45 +08:00
parent 563b23cf2a
commit fee5f23d37
13 changed files with 120 additions and 764 deletions

18
src/service/info.ts Normal file
View File

@@ -0,0 +1,18 @@
/* eslint-disable */
// @ts-ignore
import request from '@/http/vue-query';
import { CustomRequestOptions } from '@/http/types';
import * as API from './types';
/** 用户信息 GET /user/info */
export async function infoUsingGet({
options,
}: {
options?: CustomRequestOptions;
}) {
return request<API.UserItem>('/user/info', {
method: 'GET',
...(options || {}),
});
}