mirror of
https://github.com/shuguangnet/Code-Master.git
synced 2025-01-23 07:58:44 +08:00
Your commit message
This commit is contained in:
parent
4db1a5cb7e
commit
cbe9912399
50
README.md
50
README.md
@ -1,24 +1,36 @@
|
|||||||
# shuguangpanti
|
# Code Master代码大师
|
||||||
|
|
||||||
## Project setup
|
基于 SpringBoot+Spring Cloud 微服务+Docker(+Vue3+ArcoDesign)的编程题目在线评测系统。
|
||||||
```
|
管理员可以创建、管理题目;用户可以自由搜索题目、阅读题目、编写并提交代码。在系统前台,在系统后端,
|
||||||
npm install
|
能够根据管理员设定的题目测试用例在 自主实现的代码沙箱 中对代码进行编译、运行、判断输出是否正确。
|
||||||
```
|
其中,代码沙箱可以作为独立服务,提供给其他开发者使用
|
||||||
|
|
||||||
### Compiles and hot-reloads for development
|
## 前端
|
||||||
```
|
|
||||||
npm run serve
|
|
||||||
```
|
|
||||||
|
|
||||||
### Compiles and minifies for production
|
1.基于 Vue3 + Arco Design 组件库,自主实现了在线做题、题目检索和管理、提交列表、用户登录等页面。
|
||||||
```
|
|
||||||
npm run build
|
|
||||||
```
|
|
||||||
|
|
||||||
### Lints and fixes files
|
2.使用 Vue-CL 脚手架初始化项目,并自行开发了全局页面布局和通用前端项目模板,便于后续复用。
|
||||||
```
|
|
||||||
npm run lint
|
|
||||||
```
|
|
||||||
|
|
||||||
### Customize configuration
|
3.使用 Typescript + ESlint +pretier + Husky保证项目编码和提交规范,提高项目的质量。(虽然是由脚手架自动帮你整合了,但你要知道这些技术各自的作用)
|
||||||
See [Configuration Reference](https://cli.vuejs.org/config/).
|
|
||||||
|
4.全局导航生成:基于 Vue Router的路中配置文件自动生成导航菜单,并通过给路由的 meta 属件增加 hidden 字段实现集中控制页面的显隐。
|
||||||
|
|
||||||
|
5.全局权眼管理:通过给 wve Router路由的 mela 属件增加 acess 字段来定义页面权眼,然后通过 beforeach 全局路由守卫集中校验用户进入页面的权限,并进一步将权
|
||||||
|
限管理相关代码统一封装为 access.ts 模块,简化用户使用。
|
||||||
|
|
||||||
|
6.全局状态管理:基于 Vuex 定义 User Module 实现了对登录用户的状态存储,并通过组合式 AP(usestore)在页面中访问用户信息
|
||||||
|
|
||||||
|
7.前后端联调:使用 openapitypescript-codegen 工具根据后端 Swagger 接口文档自动生成请求后端的代码,大幅提高开发效率,.
|
||||||
|
|
||||||
|
8.为提高前端开发效率,使用 IDEA 的 Live Templates 功能自定义了一套基础前端代码模板,能够通过快捷键高效生成代码。
|
||||||
|
|
||||||
|
9.选用 ByteMD 开源 Markdown 文本编辑器组件,引入 gfm 插件(支持表格语法)并进一步自行封装了可复用的 Editor和 Viewer,实现了题目内容及答案的编辑功能。
|
||||||
|
|
||||||
|
10.基于 Webpack整合了 Monaco Editor开源代码编辑器组件,并进一步基于ref自行封装了可复用的 Editor和 Viewer,实现了用户编写代码功能,支持多种语言的高亮.
|
||||||
|
|
||||||
|
11.使用 Arco Design 的 Table 组件实现了题目检索页面,并通过自定义插槽将后端返回的JSON 数据解析为美观的格式。
|
||||||
|
|
||||||
|
[![微信截图_20240901201643.png](https://minio-img.933999.xyz/test1/2024/09/01/66d4655e4ea1d.png)](https://minio-img.933999.xyz/test1/2024/09/01/66d4655e4ea1d.png)
|
||||||
|
[![微信截图_20240901204915.png](https://minio-img.933999.xyz/test1/2024/09/01/66d4655deedf8.png)](https://minio-img.933999.xyz/test1/2024/09/01/66d4655deedf8.png)
|
||||||
|
[![微信截图_20240901204930.png](https://minio-img.933999.xyz/test1/2024/09/01/66d4655fd1195.png)](https://minio-img.933999.xyz/test1/2024/09/01/66d4655fd1195.png)
|
||||||
|
[![微信截图_20240901204945.png](https://minio-img.933999.xyz/test1/2024/09/01/66d46560a958b.png)](https://minio-img.933999.xyz/test1/2024/09/01/66d46560a958b.png)
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* generated using openapi-typescript-codegen -- do no edit */
|
/* generated using openapi-typescript-codegen -- do not edit */
|
||||||
/* istanbul ignore file */
|
/* istanbul ignore file */
|
||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* generated using openapi-typescript-codegen -- do no edit */
|
/* generated using openapi-typescript-codegen -- do not edit */
|
||||||
/* istanbul ignore file */
|
/* istanbul ignore file */
|
||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* generated using openapi-typescript-codegen -- do no edit */
|
/* generated using openapi-typescript-codegen -- do not edit */
|
||||||
/* istanbul ignore file */
|
/* istanbul ignore file */
|
||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* generated using openapi-typescript-codegen -- do no edit */
|
/* generated using openapi-typescript-codegen -- do not edit */
|
||||||
/* istanbul ignore file */
|
/* istanbul ignore file */
|
||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
@ -51,7 +51,7 @@ export class CancelablePromise<T> implements Promise<T> {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
this.#isResolved = true;
|
this.#isResolved = true;
|
||||||
this.#resolve?.(value);
|
if (this.#resolve) this.#resolve(value);
|
||||||
};
|
};
|
||||||
|
|
||||||
const onReject = (reason?: any): void => {
|
const onReject = (reason?: any): void => {
|
||||||
@ -59,7 +59,7 @@ export class CancelablePromise<T> implements Promise<T> {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
this.#isRejected = true;
|
this.#isRejected = true;
|
||||||
this.#reject?.(reason);
|
if (this.#reject) this.#reject(reason);
|
||||||
};
|
};
|
||||||
|
|
||||||
const onCancel = (cancelHandler: () => void): void => {
|
const onCancel = (cancelHandler: () => void): void => {
|
||||||
@ -85,9 +85,9 @@ export class CancelablePromise<T> implements Promise<T> {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
get [Symbol.toStringTag]() {
|
get [Symbol.toStringTag]() {
|
||||||
return "Cancellable Promise";
|
return "Cancellable Promise";
|
||||||
}
|
}
|
||||||
|
|
||||||
public then<TResult1 = T, TResult2 = never>(
|
public then<TResult1 = T, TResult2 = never>(
|
||||||
onFulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | null,
|
onFulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | null,
|
||||||
@ -122,7 +122,7 @@ export class CancelablePromise<T> implements Promise<T> {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
this.#cancelHandlers.length = 0;
|
this.#cancelHandlers.length = 0;
|
||||||
this.#reject?.(new CancelError('Request aborted'));
|
if (this.#reject) this.#reject(new CancelError('Request aborted'));
|
||||||
}
|
}
|
||||||
|
|
||||||
public get isCancelled(): boolean {
|
public get isCancelled(): boolean {
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* generated using openapi-typescript-codegen -- do no edit */
|
/* generated using openapi-typescript-codegen -- do not edit */
|
||||||
/* istanbul ignore file */
|
/* istanbul ignore file */
|
||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
@ -20,7 +20,7 @@ export type OpenAPIConfig = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
export const OpenAPI: OpenAPIConfig = {
|
export const OpenAPI: OpenAPIConfig = {
|
||||||
BASE: 'http://localhost:8101',
|
BASE: 'http://127.0.0.1:8101',
|
||||||
VERSION: '1.0',
|
VERSION: '1.0',
|
||||||
WITH_CREDENTIALS: true,
|
WITH_CREDENTIALS: true,
|
||||||
CREDENTIALS: 'include',
|
CREDENTIALS: 'include',
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* generated using openapi-typescript-codegen -- do no edit */
|
/* generated using openapi-typescript-codegen -- do not edit */
|
||||||
/* istanbul ignore file */
|
/* istanbul ignore file */
|
||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
@ -145,10 +145,13 @@ export const resolve = async <T>(options: ApiRequestOptions, resolver?: T | Reso
|
|||||||
};
|
};
|
||||||
|
|
||||||
export const getHeaders = async (config: OpenAPIConfig, options: ApiRequestOptions, formData?: FormData): Promise<Record<string, string>> => {
|
export const getHeaders = async (config: OpenAPIConfig, options: ApiRequestOptions, formData?: FormData): Promise<Record<string, string>> => {
|
||||||
const token = await resolve(options, config.TOKEN);
|
const [token, username, password, additionalHeaders] = await Promise.all([
|
||||||
const username = await resolve(options, config.USERNAME);
|
resolve(options, config.TOKEN),
|
||||||
const password = await resolve(options, config.PASSWORD);
|
resolve(options, config.USERNAME),
|
||||||
const additionalHeaders = await resolve(options, config.HEADERS);
|
resolve(options, config.PASSWORD),
|
||||||
|
resolve(options, config.HEADERS),
|
||||||
|
]);
|
||||||
|
|
||||||
const formHeaders = typeof formData?.getHeaders === 'function' && formData?.getHeaders() || {}
|
const formHeaders = typeof formData?.getHeaders === 'function' && formData?.getHeaders() || {}
|
||||||
|
|
||||||
const headers = Object.entries({
|
const headers = Object.entries({
|
||||||
@ -172,7 +175,7 @@ export const getHeaders = async (config: OpenAPIConfig, options: ApiRequestOptio
|
|||||||
headers['Authorization'] = `Basic ${credentials}`;
|
headers['Authorization'] = `Basic ${credentials}`;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (options.body) {
|
if (options.body !== undefined) {
|
||||||
if (options.mediaType) {
|
if (options.mediaType) {
|
||||||
headers['Content-Type'] = options.mediaType;
|
headers['Content-Type'] = options.mediaType;
|
||||||
} else if (isBlob(options.body)) {
|
} else if (isBlob(options.body)) {
|
||||||
@ -212,6 +215,7 @@ export const sendRequest = async <T>(
|
|||||||
data: body ?? formData,
|
data: body ?? formData,
|
||||||
method: options.method,
|
method: options.method,
|
||||||
withCredentials: config.WITH_CREDENTIALS,
|
withCredentials: config.WITH_CREDENTIALS,
|
||||||
|
withXSRFToken: config.CREDENTIALS === 'include' ? config.WITH_CREDENTIALS : false,
|
||||||
cancelToken: source.token,
|
cancelToken: source.token,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -1,70 +1,70 @@
|
|||||||
/* generated using openapi-typescript-codegen -- do no edit */
|
/* generated using openapi-typescript-codegen -- do not edit */
|
||||||
/* istanbul ignore file */
|
/* istanbul ignore file */
|
||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
export { ApiError } from "./core/ApiError";
|
export { ApiError } from './core/ApiError';
|
||||||
export { CancelablePromise, CancelError } from "./core/CancelablePromise";
|
export { CancelablePromise, CancelError } from './core/CancelablePromise';
|
||||||
export { OpenAPI } from "./core/OpenAPI";
|
export { OpenAPI } from './core/OpenAPI';
|
||||||
export type { OpenAPIConfig } from "./core/OpenAPI";
|
export type { OpenAPIConfig } from './core/OpenAPI';
|
||||||
|
|
||||||
export type { BaseResponse_boolean_ } from "./models/BaseResponse_boolean_";
|
export type { BaseResponse_boolean_ } from './models/BaseResponse_boolean_';
|
||||||
export type { BaseResponse_int_ } from "./models/BaseResponse_int_";
|
export type { BaseResponse_int_ } from './models/BaseResponse_int_';
|
||||||
export type { BaseResponse_LoginUserVO_ } from "./models/BaseResponse_LoginUserVO_";
|
export type { BaseResponse_LoginUserVO_ } from './models/BaseResponse_LoginUserVO_';
|
||||||
export type { BaseResponse_long_ } from "./models/BaseResponse_long_";
|
export type { BaseResponse_long_ } from './models/BaseResponse_long_';
|
||||||
export type { BaseResponse_Page_PostVO_ } from "./models/BaseResponse_Page_PostVO_";
|
export type { BaseResponse_Page_PostVO_ } from './models/BaseResponse_Page_PostVO_';
|
||||||
export type { BaseResponse_Page_Question_ } from "./models/BaseResponse_Page_Question_";
|
export type { BaseResponse_Page_Question_ } from './models/BaseResponse_Page_Question_';
|
||||||
export type { BaseResponse_Page_QuestionSubmitVO_ } from "./models/BaseResponse_Page_QuestionSubmitVO_";
|
export type { BaseResponse_Page_QuestionSubmitVO_ } from './models/BaseResponse_Page_QuestionSubmitVO_';
|
||||||
export type { BaseResponse_Page_QuestionVO_ } from "./models/BaseResponse_Page_QuestionVO_";
|
export type { BaseResponse_Page_QuestionVO_ } from './models/BaseResponse_Page_QuestionVO_';
|
||||||
export type { BaseResponse_Page_User_ } from "./models/BaseResponse_Page_User_";
|
export type { BaseResponse_Page_User_ } from './models/BaseResponse_Page_User_';
|
||||||
export type { BaseResponse_Page_UserVO_ } from "./models/BaseResponse_Page_UserVO_";
|
export type { BaseResponse_Page_UserVO_ } from './models/BaseResponse_Page_UserVO_';
|
||||||
export type { BaseResponse_PostVO_ } from "./models/BaseResponse_PostVO_";
|
export type { BaseResponse_PostVO_ } from './models/BaseResponse_PostVO_';
|
||||||
export type { BaseResponse_Question_ } from "./models/BaseResponse_Question_";
|
export type { BaseResponse_Question_ } from './models/BaseResponse_Question_';
|
||||||
export type { BaseResponse_QuestionVO_ } from "./models/BaseResponse_QuestionVO_";
|
export type { BaseResponse_QuestionVO_ } from './models/BaseResponse_QuestionVO_';
|
||||||
export type { BaseResponse_string_ } from "./models/BaseResponse_string_";
|
export type { BaseResponse_string_ } from './models/BaseResponse_string_';
|
||||||
export type { BaseResponse_User_ } from "./models/BaseResponse_User_";
|
export type { BaseResponse_User_ } from './models/BaseResponse_User_';
|
||||||
export type { BaseResponse_UserVO_ } from "./models/BaseResponse_UserVO_";
|
export type { BaseResponse_UserVO_ } from './models/BaseResponse_UserVO_';
|
||||||
export type { DeleteRequest } from "./models/DeleteRequest";
|
export type { DeleteRequest } from './models/DeleteRequest';
|
||||||
export type { JudgeCase } from "./models/JudgeCase";
|
export type { JudgeCase } from './models/JudgeCase';
|
||||||
export type { JudgeConfig } from "./models/JudgeConfig";
|
export type { JudgeConfig } from './models/JudgeConfig';
|
||||||
export type { JudgeInfo } from "./models/JudgeInfo";
|
export type { JudgeInfo } from './models/JudgeInfo';
|
||||||
export type { LoginUserVO } from "./models/LoginUserVO";
|
export type { LoginUserVO } from './models/LoginUserVO';
|
||||||
export type { OrderItem } from "./models/OrderItem";
|
export type { OrderItem } from './models/OrderItem';
|
||||||
export type { Page_PostVO_ } from "./models/Page_PostVO_";
|
export type { Page_PostVO_ } from './models/Page_PostVO_';
|
||||||
export type { Page_Question_ } from "./models/Page_Question_";
|
export type { Page_Question_ } from './models/Page_Question_';
|
||||||
export type { Page_QuestionSubmitVO_ } from "./models/Page_QuestionSubmitVO_";
|
export type { Page_QuestionSubmitVO_ } from './models/Page_QuestionSubmitVO_';
|
||||||
export type { Page_QuestionVO_ } from "./models/Page_QuestionVO_";
|
export type { Page_QuestionVO_ } from './models/Page_QuestionVO_';
|
||||||
export type { Page_User_ } from "./models/Page_User_";
|
export type { Page_User_ } from './models/Page_User_';
|
||||||
export type { Page_UserVO_ } from "./models/Page_UserVO_";
|
export type { Page_UserVO_ } from './models/Page_UserVO_';
|
||||||
export type { PostAddRequest } from "./models/PostAddRequest";
|
export type { PostAddRequest } from './models/PostAddRequest';
|
||||||
export type { PostEditRequest } from "./models/PostEditRequest";
|
export type { PostEditRequest } from './models/PostEditRequest';
|
||||||
export type { PostFavourAddRequest } from "./models/PostFavourAddRequest";
|
export type { PostFavourAddRequest } from './models/PostFavourAddRequest';
|
||||||
export type { PostFavourQueryRequest } from "./models/PostFavourQueryRequest";
|
export type { PostFavourQueryRequest } from './models/PostFavourQueryRequest';
|
||||||
export type { PostQueryRequest } from "./models/PostQueryRequest";
|
export type { PostQueryRequest } from './models/PostQueryRequest';
|
||||||
export type { PostThumbAddRequest } from "./models/PostThumbAddRequest";
|
export type { PostThumbAddRequest } from './models/PostThumbAddRequest';
|
||||||
export type { PostUpdateRequest } from "./models/PostUpdateRequest";
|
export type { PostUpdateRequest } from './models/PostUpdateRequest';
|
||||||
export type { PostVO } from "./models/PostVO";
|
export type { PostVO } from './models/PostVO';
|
||||||
export type { Question } from "./models/Question";
|
export type { Question } from './models/Question';
|
||||||
export type { QuestionAddRequest } from "./models/QuestionAddRequest";
|
export type { QuestionAddRequest } from './models/QuestionAddRequest';
|
||||||
export type { QuestionEditRequest } from "./models/QuestionEditRequest";
|
export type { QuestionEditRequest } from './models/QuestionEditRequest';
|
||||||
export type { QuestionQueryRequest } from "./models/QuestionQueryRequest";
|
export type { QuestionQueryRequest } from './models/QuestionQueryRequest';
|
||||||
export type { QuestionSubmitAddRequest } from "./models/QuestionSubmitAddRequest";
|
export type { QuestionSubmitAddRequest } from './models/QuestionSubmitAddRequest';
|
||||||
export type { QuestionSubmitQueryRequest } from "./models/QuestionSubmitQueryRequest";
|
export type { QuestionSubmitQueryRequest } from './models/QuestionSubmitQueryRequest';
|
||||||
export type { QuestionSubmitVO } from "./models/QuestionSubmitVO";
|
export type { QuestionSubmitVO } from './models/QuestionSubmitVO';
|
||||||
export type { QuestionUpdateRequest } from "./models/QuestionUpdateRequest";
|
export type { QuestionUpdateRequest } from './models/QuestionUpdateRequest';
|
||||||
export type { QuestionVO } from "./models/QuestionVO";
|
export type { QuestionVO } from './models/QuestionVO';
|
||||||
export type { User } from "./models/User";
|
export type { User } from './models/User';
|
||||||
export type { UserAddRequest } from "./models/UserAddRequest";
|
export type { UserAddRequest } from './models/UserAddRequest';
|
||||||
export type { UserLoginRequest } from "./models/UserLoginRequest";
|
export type { UserLoginRequest } from './models/UserLoginRequest';
|
||||||
export type { UserQueryRequest } from "./models/UserQueryRequest";
|
export type { UserQueryRequest } from './models/UserQueryRequest';
|
||||||
export type { UserRegisterRequest } from "./models/UserRegisterRequest";
|
export type { UserRegisterRequest } from './models/UserRegisterRequest';
|
||||||
export type { UserUpdateMyRequest } from "./models/UserUpdateMyRequest";
|
export type { UserUpdateMyRequest } from './models/UserUpdateMyRequest';
|
||||||
export type { UserUpdateRequest } from "./models/UserUpdateRequest";
|
export type { UserUpdateRequest } from './models/UserUpdateRequest';
|
||||||
export type { UserVO } from "./models/UserVO";
|
export type { UserVO } from './models/UserVO';
|
||||||
|
|
||||||
export { FileControllerService } from "./services/FileControllerService";
|
export { FileControllerService } from './services/FileControllerService';
|
||||||
export { PostControllerService } from "./services/PostControllerService";
|
export { PostControllerService } from './services/PostControllerService';
|
||||||
export { PostFavourControllerService } from "./services/PostFavourControllerService";
|
export { PostFavourControllerService } from './services/PostFavourControllerService';
|
||||||
export { PostThumbControllerService } from "./services/PostThumbControllerService";
|
export { PostThumbControllerService } from './services/PostThumbControllerService';
|
||||||
export { QuestionControllerService } from "./services/QuestionControllerService";
|
export { QuestionControllerService } from './services/QuestionControllerService';
|
||||||
export { UserControllerService } from "./services/UserControllerService";
|
export { UserControllerService } from './services/UserControllerService';
|
||||||
export { WxMpControllerService } from "./services/WxMpControllerService";
|
export { WxMpControllerService } from './services/WxMpControllerService';
|
||||||
|
@ -1,12 +1,11 @@
|
|||||||
/* generated using openapi-typescript-codegen -- do no edit */
|
/* generated using openapi-typescript-codegen -- do not edit */
|
||||||
/* istanbul ignore file */
|
/* istanbul ignore file */
|
||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
import type { LoginUserVO } from './LoginUserVO';
|
import type { LoginUserVO } from './LoginUserVO';
|
||||||
|
|
||||||
export type BaseResponse_LoginUserVO_ = {
|
export type BaseResponse_LoginUserVO_ = {
|
||||||
code?: number;
|
code?: number;
|
||||||
data?: LoginUserVO;
|
data?: LoginUserVO;
|
||||||
message?: string;
|
message?: string;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -1,12 +1,11 @@
|
|||||||
/* generated using openapi-typescript-codegen -- do no edit */
|
/* generated using openapi-typescript-codegen -- do not edit */
|
||||||
/* istanbul ignore file */
|
/* istanbul ignore file */
|
||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
import type { Page_PostVO_ } from './Page_PostVO_';
|
import type { Page_PostVO_ } from './Page_PostVO_';
|
||||||
|
|
||||||
export type BaseResponse_Page_PostVO_ = {
|
export type BaseResponse_Page_PostVO_ = {
|
||||||
code?: number;
|
code?: number;
|
||||||
data?: Page_PostVO_;
|
data?: Page_PostVO_;
|
||||||
message?: string;
|
message?: string;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -1,12 +1,11 @@
|
|||||||
/* generated using openapi-typescript-codegen -- do no edit */
|
/* generated using openapi-typescript-codegen -- do not edit */
|
||||||
/* istanbul ignore file */
|
/* istanbul ignore file */
|
||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
import type { Page_QuestionSubmitVO_ } from './Page_QuestionSubmitVO_';
|
import type { Page_QuestionSubmitVO_ } from './Page_QuestionSubmitVO_';
|
||||||
|
|
||||||
export type BaseResponse_Page_QuestionSubmitVO_ = {
|
export type BaseResponse_Page_QuestionSubmitVO_ = {
|
||||||
code?: number;
|
code?: number;
|
||||||
data?: Page_QuestionSubmitVO_;
|
data?: Page_QuestionSubmitVO_;
|
||||||
message?: string;
|
message?: string;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -1,12 +1,11 @@
|
|||||||
/* generated using openapi-typescript-codegen -- do no edit */
|
/* generated using openapi-typescript-codegen -- do not edit */
|
||||||
/* istanbul ignore file */
|
/* istanbul ignore file */
|
||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
import type { Page_QuestionVO_ } from './Page_QuestionVO_';
|
import type { Page_QuestionVO_ } from './Page_QuestionVO_';
|
||||||
|
|
||||||
export type BaseResponse_Page_QuestionVO_ = {
|
export type BaseResponse_Page_QuestionVO_ = {
|
||||||
code?: number;
|
code?: number;
|
||||||
data?: Page_QuestionVO_;
|
data?: Page_QuestionVO_;
|
||||||
message?: string;
|
message?: string;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -1,12 +1,11 @@
|
|||||||
/* generated using openapi-typescript-codegen -- do no edit */
|
/* generated using openapi-typescript-codegen -- do not edit */
|
||||||
/* istanbul ignore file */
|
/* istanbul ignore file */
|
||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
import type { Page_Question_ } from './Page_Question_';
|
import type { Page_Question_ } from './Page_Question_';
|
||||||
|
|
||||||
export type BaseResponse_Page_Question_ = {
|
export type BaseResponse_Page_Question_ = {
|
||||||
code?: number;
|
code?: number;
|
||||||
data?: Page_Question_;
|
data?: Page_Question_;
|
||||||
message?: string;
|
message?: string;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -1,12 +1,11 @@
|
|||||||
/* generated using openapi-typescript-codegen -- do no edit */
|
/* generated using openapi-typescript-codegen -- do not edit */
|
||||||
/* istanbul ignore file */
|
/* istanbul ignore file */
|
||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
import type { Page_UserVO_ } from './Page_UserVO_';
|
import type { Page_UserVO_ } from './Page_UserVO_';
|
||||||
|
|
||||||
export type BaseResponse_Page_UserVO_ = {
|
export type BaseResponse_Page_UserVO_ = {
|
||||||
code?: number;
|
code?: number;
|
||||||
data?: Page_UserVO_;
|
data?: Page_UserVO_;
|
||||||
message?: string;
|
message?: string;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -1,12 +1,11 @@
|
|||||||
/* generated using openapi-typescript-codegen -- do no edit */
|
/* generated using openapi-typescript-codegen -- do not edit */
|
||||||
/* istanbul ignore file */
|
/* istanbul ignore file */
|
||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
import type { Page_User_ } from './Page_User_';
|
import type { Page_User_ } from './Page_User_';
|
||||||
|
|
||||||
export type BaseResponse_Page_User_ = {
|
export type BaseResponse_Page_User_ = {
|
||||||
code?: number;
|
code?: number;
|
||||||
data?: Page_User_;
|
data?: Page_User_;
|
||||||
message?: string;
|
message?: string;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -1,12 +1,11 @@
|
|||||||
/* generated using openapi-typescript-codegen -- do no edit */
|
/* generated using openapi-typescript-codegen -- do not edit */
|
||||||
/* istanbul ignore file */
|
/* istanbul ignore file */
|
||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
import type { PostVO } from './PostVO';
|
import type { PostVO } from './PostVO';
|
||||||
|
|
||||||
export type BaseResponse_PostVO_ = {
|
export type BaseResponse_PostVO_ = {
|
||||||
code?: number;
|
code?: number;
|
||||||
data?: PostVO;
|
data?: PostVO;
|
||||||
message?: string;
|
message?: string;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -1,12 +1,11 @@
|
|||||||
/* generated using openapi-typescript-codegen -- do no edit */
|
/* generated using openapi-typescript-codegen -- do not edit */
|
||||||
/* istanbul ignore file */
|
/* istanbul ignore file */
|
||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
import type { QuestionVO } from './QuestionVO';
|
import type { QuestionVO } from './QuestionVO';
|
||||||
|
|
||||||
export type BaseResponse_QuestionVO_ = {
|
export type BaseResponse_QuestionVO_ = {
|
||||||
code?: number;
|
code?: number;
|
||||||
data?: QuestionVO;
|
data?: QuestionVO;
|
||||||
message?: string;
|
message?: string;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -1,12 +1,11 @@
|
|||||||
/* generated using openapi-typescript-codegen -- do no edit */
|
/* generated using openapi-typescript-codegen -- do not edit */
|
||||||
/* istanbul ignore file */
|
/* istanbul ignore file */
|
||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
import type { Question } from './Question';
|
import type { Question } from './Question';
|
||||||
|
|
||||||
export type BaseResponse_Question_ = {
|
export type BaseResponse_Question_ = {
|
||||||
code?: number;
|
code?: number;
|
||||||
data?: Question;
|
data?: Question;
|
||||||
message?: string;
|
message?: string;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -1,12 +1,11 @@
|
|||||||
/* generated using openapi-typescript-codegen -- do no edit */
|
/* generated using openapi-typescript-codegen -- do not edit */
|
||||||
/* istanbul ignore file */
|
/* istanbul ignore file */
|
||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
import type { UserVO } from './UserVO';
|
import type { UserVO } from './UserVO';
|
||||||
|
|
||||||
export type BaseResponse_UserVO_ = {
|
export type BaseResponse_UserVO_ = {
|
||||||
code?: number;
|
code?: number;
|
||||||
data?: UserVO;
|
data?: UserVO;
|
||||||
message?: string;
|
message?: string;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -1,12 +1,11 @@
|
|||||||
/* generated using openapi-typescript-codegen -- do no edit */
|
/* generated using openapi-typescript-codegen -- do not edit */
|
||||||
/* istanbul ignore file */
|
/* istanbul ignore file */
|
||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
import type { User } from './User';
|
import type { User } from './User';
|
||||||
|
|
||||||
export type BaseResponse_User_ = {
|
export type BaseResponse_User_ = {
|
||||||
code?: number;
|
code?: number;
|
||||||
data?: User;
|
data?: User;
|
||||||
message?: string;
|
message?: string;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
/* generated using openapi-typescript-codegen -- do no edit */
|
/* generated using openapi-typescript-codegen -- do not edit */
|
||||||
/* istanbul ignore file */
|
/* istanbul ignore file */
|
||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
export type BaseResponse_boolean_ = {
|
export type BaseResponse_boolean_ = {
|
||||||
code?: number;
|
code?: number;
|
||||||
data?: boolean;
|
data?: boolean;
|
||||||
message?: string;
|
message?: string;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
/* generated using openapi-typescript-codegen -- do no edit */
|
/* generated using openapi-typescript-codegen -- do not edit */
|
||||||
/* istanbul ignore file */
|
/* istanbul ignore file */
|
||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
export type BaseResponse_int_ = {
|
export type BaseResponse_int_ = {
|
||||||
code?: number;
|
code?: number;
|
||||||
data?: number;
|
data?: number;
|
||||||
message?: string;
|
message?: string;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
/* generated using openapi-typescript-codegen -- do no edit */
|
/* generated using openapi-typescript-codegen -- do not edit */
|
||||||
/* istanbul ignore file */
|
/* istanbul ignore file */
|
||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
export type BaseResponse_long_ = {
|
export type BaseResponse_long_ = {
|
||||||
code?: number;
|
code?: number;
|
||||||
data?: number;
|
data?: number;
|
||||||
message?: string;
|
message?: string;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
/* generated using openapi-typescript-codegen -- do no edit */
|
/* generated using openapi-typescript-codegen -- do not edit */
|
||||||
/* istanbul ignore file */
|
/* istanbul ignore file */
|
||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
export type BaseResponse_string_ = {
|
export type BaseResponse_string_ = {
|
||||||
code?: number;
|
code?: number;
|
||||||
data?: string;
|
data?: string;
|
||||||
message?: string;
|
message?: string;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
/* generated using openapi-typescript-codegen -- do no edit */
|
/* generated using openapi-typescript-codegen -- do not edit */
|
||||||
/* istanbul ignore file */
|
/* istanbul ignore file */
|
||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
export type DeleteRequest = {
|
export type DeleteRequest = {
|
||||||
id?: number;
|
id?: number;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
/* generated using openapi-typescript-codegen -- do no edit */
|
/* generated using openapi-typescript-codegen -- do not edit */
|
||||||
/* istanbul ignore file */
|
/* istanbul ignore file */
|
||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
export type JudgeCase = {
|
export type JudgeCase = {
|
||||||
input?: string;
|
input?: string;
|
||||||
output?: string;
|
output?: string;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
/* generated using openapi-typescript-codegen -- do no edit */
|
/* generated using openapi-typescript-codegen -- do not edit */
|
||||||
/* istanbul ignore file */
|
/* istanbul ignore file */
|
||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
export type JudgeConfig = {
|
export type JudgeConfig = {
|
||||||
memoryLimit?: number;
|
memoryLimit?: number;
|
||||||
stackLimit?: number;
|
stackLimit?: number;
|
||||||
timeLimit?: number;
|
timeLimit?: number;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
/* generated using openapi-typescript-codegen -- do no edit */
|
/* generated using openapi-typescript-codegen -- do not edit */
|
||||||
/* istanbul ignore file */
|
/* istanbul ignore file */
|
||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
export type JudgeInfo = {
|
export type JudgeInfo = {
|
||||||
memory?: number;
|
memory?: number;
|
||||||
message?: string;
|
message?: string;
|
||||||
time?: number;
|
time?: number;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -1,8 +1,7 @@
|
|||||||
/* generated using openapi-typescript-codegen -- do no edit */
|
/* generated using openapi-typescript-codegen -- do not edit */
|
||||||
/* istanbul ignore file */
|
/* istanbul ignore file */
|
||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
export type LoginUserVO = {
|
export type LoginUserVO = {
|
||||||
createTime?: string;
|
createTime?: string;
|
||||||
id?: number;
|
id?: number;
|
||||||
@ -12,3 +11,4 @@ export type LoginUserVO = {
|
|||||||
userProfile?: string;
|
userProfile?: string;
|
||||||
userRole?: string;
|
userRole?: string;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
/* generated using openapi-typescript-codegen -- do no edit */
|
/* generated using openapi-typescript-codegen -- do not edit */
|
||||||
/* istanbul ignore file */
|
/* istanbul ignore file */
|
||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
export type OrderItem = {
|
export type OrderItem = {
|
||||||
asc?: boolean;
|
asc?: boolean;
|
||||||
column?: string;
|
column?: string;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -1,11 +1,9 @@
|
|||||||
/* generated using openapi-typescript-codegen -- do no edit */
|
/* generated using openapi-typescript-codegen -- do not edit */
|
||||||
/* istanbul ignore file */
|
/* istanbul ignore file */
|
||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
import type { OrderItem } from './OrderItem';
|
import type { OrderItem } from './OrderItem';
|
||||||
import type { PostVO } from './PostVO';
|
import type { PostVO } from './PostVO';
|
||||||
|
|
||||||
export type Page_PostVO_ = {
|
export type Page_PostVO_ = {
|
||||||
countId?: string;
|
countId?: string;
|
||||||
current?: number;
|
current?: number;
|
||||||
@ -18,3 +16,4 @@ export type Page_PostVO_ = {
|
|||||||
size?: number;
|
size?: number;
|
||||||
total?: number;
|
total?: number;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -1,11 +1,9 @@
|
|||||||
/* generated using openapi-typescript-codegen -- do no edit */
|
/* generated using openapi-typescript-codegen -- do not edit */
|
||||||
/* istanbul ignore file */
|
/* istanbul ignore file */
|
||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
import type { OrderItem } from './OrderItem';
|
import type { OrderItem } from './OrderItem';
|
||||||
import type { QuestionSubmitVO } from './QuestionSubmitVO';
|
import type { QuestionSubmitVO } from './QuestionSubmitVO';
|
||||||
|
|
||||||
export type Page_QuestionSubmitVO_ = {
|
export type Page_QuestionSubmitVO_ = {
|
||||||
countId?: string;
|
countId?: string;
|
||||||
current?: number;
|
current?: number;
|
||||||
@ -18,3 +16,4 @@ export type Page_QuestionSubmitVO_ = {
|
|||||||
size?: number;
|
size?: number;
|
||||||
total?: number;
|
total?: number;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -1,11 +1,9 @@
|
|||||||
/* generated using openapi-typescript-codegen -- do no edit */
|
/* generated using openapi-typescript-codegen -- do not edit */
|
||||||
/* istanbul ignore file */
|
/* istanbul ignore file */
|
||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
import type { OrderItem } from './OrderItem';
|
import type { OrderItem } from './OrderItem';
|
||||||
import type { QuestionVO } from './QuestionVO';
|
import type { QuestionVO } from './QuestionVO';
|
||||||
|
|
||||||
export type Page_QuestionVO_ = {
|
export type Page_QuestionVO_ = {
|
||||||
countId?: string;
|
countId?: string;
|
||||||
current?: number;
|
current?: number;
|
||||||
@ -18,3 +16,4 @@ export type Page_QuestionVO_ = {
|
|||||||
size?: number;
|
size?: number;
|
||||||
total?: number;
|
total?: number;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -1,11 +1,9 @@
|
|||||||
/* generated using openapi-typescript-codegen -- do no edit */
|
/* generated using openapi-typescript-codegen -- do not edit */
|
||||||
/* istanbul ignore file */
|
/* istanbul ignore file */
|
||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
import type { OrderItem } from './OrderItem';
|
import type { OrderItem } from './OrderItem';
|
||||||
import type { Question } from './Question';
|
import type { Question } from './Question';
|
||||||
|
|
||||||
export type Page_Question_ = {
|
export type Page_Question_ = {
|
||||||
countId?: string;
|
countId?: string;
|
||||||
current?: number;
|
current?: number;
|
||||||
@ -18,3 +16,4 @@ export type Page_Question_ = {
|
|||||||
size?: number;
|
size?: number;
|
||||||
total?: number;
|
total?: number;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -1,11 +1,9 @@
|
|||||||
/* generated using openapi-typescript-codegen -- do no edit */
|
/* generated using openapi-typescript-codegen -- do not edit */
|
||||||
/* istanbul ignore file */
|
/* istanbul ignore file */
|
||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
import type { OrderItem } from './OrderItem';
|
import type { OrderItem } from './OrderItem';
|
||||||
import type { UserVO } from './UserVO';
|
import type { UserVO } from './UserVO';
|
||||||
|
|
||||||
export type Page_UserVO_ = {
|
export type Page_UserVO_ = {
|
||||||
countId?: string;
|
countId?: string;
|
||||||
current?: number;
|
current?: number;
|
||||||
@ -18,3 +16,4 @@ export type Page_UserVO_ = {
|
|||||||
size?: number;
|
size?: number;
|
||||||
total?: number;
|
total?: number;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -1,11 +1,9 @@
|
|||||||
/* generated using openapi-typescript-codegen -- do no edit */
|
/* generated using openapi-typescript-codegen -- do not edit */
|
||||||
/* istanbul ignore file */
|
/* istanbul ignore file */
|
||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
import type { OrderItem } from './OrderItem';
|
import type { OrderItem } from './OrderItem';
|
||||||
import type { User } from './User';
|
import type { User } from './User';
|
||||||
|
|
||||||
export type Page_User_ = {
|
export type Page_User_ = {
|
||||||
countId?: string;
|
countId?: string;
|
||||||
current?: number;
|
current?: number;
|
||||||
@ -18,3 +16,4 @@ export type Page_User_ = {
|
|||||||
size?: number;
|
size?: number;
|
||||||
total?: number;
|
total?: number;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
/* generated using openapi-typescript-codegen -- do no edit */
|
/* generated using openapi-typescript-codegen -- do not edit */
|
||||||
/* istanbul ignore file */
|
/* istanbul ignore file */
|
||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
export type PostAddRequest = {
|
export type PostAddRequest = {
|
||||||
content?: string;
|
content?: string;
|
||||||
tags?: Array<string>;
|
tags?: Array<string>;
|
||||||
title?: string;
|
title?: string;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
/* generated using openapi-typescript-codegen -- do no edit */
|
/* generated using openapi-typescript-codegen -- do not edit */
|
||||||
/* istanbul ignore file */
|
/* istanbul ignore file */
|
||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
export type PostEditRequest = {
|
export type PostEditRequest = {
|
||||||
content?: string;
|
content?: string;
|
||||||
id?: number;
|
id?: number;
|
||||||
tags?: Array<string>;
|
tags?: Array<string>;
|
||||||
title?: string;
|
title?: string;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
/* generated using openapi-typescript-codegen -- do no edit */
|
/* generated using openapi-typescript-codegen -- do not edit */
|
||||||
/* istanbul ignore file */
|
/* istanbul ignore file */
|
||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
export type PostFavourAddRequest = {
|
export type PostFavourAddRequest = {
|
||||||
postId?: number;
|
postId?: number;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -1,10 +1,8 @@
|
|||||||
/* generated using openapi-typescript-codegen -- do no edit */
|
/* generated using openapi-typescript-codegen -- do not edit */
|
||||||
/* istanbul ignore file */
|
/* istanbul ignore file */
|
||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
import type { PostQueryRequest } from './PostQueryRequest';
|
import type { PostQueryRequest } from './PostQueryRequest';
|
||||||
|
|
||||||
export type PostFavourQueryRequest = {
|
export type PostFavourQueryRequest = {
|
||||||
current?: number;
|
current?: number;
|
||||||
pageSize?: number;
|
pageSize?: number;
|
||||||
@ -13,3 +11,4 @@ export type PostFavourQueryRequest = {
|
|||||||
sortOrder?: string;
|
sortOrder?: string;
|
||||||
userId?: number;
|
userId?: number;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -1,8 +1,7 @@
|
|||||||
/* generated using openapi-typescript-codegen -- do no edit */
|
/* generated using openapi-typescript-codegen -- do not edit */
|
||||||
/* istanbul ignore file */
|
/* istanbul ignore file */
|
||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
export type PostQueryRequest = {
|
export type PostQueryRequest = {
|
||||||
content?: string;
|
content?: string;
|
||||||
current?: number;
|
current?: number;
|
||||||
@ -18,3 +17,4 @@ export type PostQueryRequest = {
|
|||||||
title?: string;
|
title?: string;
|
||||||
userId?: number;
|
userId?: number;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
/* generated using openapi-typescript-codegen -- do no edit */
|
/* generated using openapi-typescript-codegen -- do not edit */
|
||||||
/* istanbul ignore file */
|
/* istanbul ignore file */
|
||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
export type PostThumbAddRequest = {
|
export type PostThumbAddRequest = {
|
||||||
postId?: number;
|
postId?: number;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
/* generated using openapi-typescript-codegen -- do no edit */
|
/* generated using openapi-typescript-codegen -- do not edit */
|
||||||
/* istanbul ignore file */
|
/* istanbul ignore file */
|
||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
export type PostUpdateRequest = {
|
export type PostUpdateRequest = {
|
||||||
content?: string;
|
content?: string;
|
||||||
id?: number;
|
id?: number;
|
||||||
tags?: Array<string>;
|
tags?: Array<string>;
|
||||||
title?: string;
|
title?: string;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -1,10 +1,8 @@
|
|||||||
/* generated using openapi-typescript-codegen -- do no edit */
|
/* generated using openapi-typescript-codegen -- do not edit */
|
||||||
/* istanbul ignore file */
|
/* istanbul ignore file */
|
||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
import type { UserVO } from './UserVO';
|
import type { UserVO } from './UserVO';
|
||||||
|
|
||||||
export type PostVO = {
|
export type PostVO = {
|
||||||
content?: string;
|
content?: string;
|
||||||
createTime?: string;
|
createTime?: string;
|
||||||
@ -19,3 +17,4 @@ export type PostVO = {
|
|||||||
user?: UserVO;
|
user?: UserVO;
|
||||||
userId?: number;
|
userId?: number;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -1,8 +1,7 @@
|
|||||||
/* generated using openapi-typescript-codegen -- do no edit */
|
/* generated using openapi-typescript-codegen -- do not edit */
|
||||||
/* istanbul ignore file */
|
/* istanbul ignore file */
|
||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
export type Question = {
|
export type Question = {
|
||||||
acceptedNum?: number;
|
acceptedNum?: number;
|
||||||
answer?: string;
|
answer?: string;
|
||||||
@ -20,3 +19,4 @@ export type Question = {
|
|||||||
updateTime?: string;
|
updateTime?: string;
|
||||||
userId?: number;
|
userId?: number;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -1,11 +1,9 @@
|
|||||||
/* generated using openapi-typescript-codegen -- do no edit */
|
/* generated using openapi-typescript-codegen -- do not edit */
|
||||||
/* istanbul ignore file */
|
/* istanbul ignore file */
|
||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
import type { JudgeCase } from './JudgeCase';
|
import type { JudgeCase } from './JudgeCase';
|
||||||
import type { JudgeConfig } from './JudgeConfig';
|
import type { JudgeConfig } from './JudgeConfig';
|
||||||
|
|
||||||
export type QuestionAddRequest = {
|
export type QuestionAddRequest = {
|
||||||
answer?: string;
|
answer?: string;
|
||||||
content?: string;
|
content?: string;
|
||||||
@ -14,3 +12,4 @@ export type QuestionAddRequest = {
|
|||||||
tags?: Array<string>;
|
tags?: Array<string>;
|
||||||
title?: string;
|
title?: string;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -1,11 +1,9 @@
|
|||||||
/* generated using openapi-typescript-codegen -- do no edit */
|
/* generated using openapi-typescript-codegen -- do not edit */
|
||||||
/* istanbul ignore file */
|
/* istanbul ignore file */
|
||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
import type { JudgeCase } from './JudgeCase';
|
import type { JudgeCase } from './JudgeCase';
|
||||||
import type { JudgeConfig } from './JudgeConfig';
|
import type { JudgeConfig } from './JudgeConfig';
|
||||||
|
|
||||||
export type QuestionEditRequest = {
|
export type QuestionEditRequest = {
|
||||||
answer?: string;
|
answer?: string;
|
||||||
content?: string;
|
content?: string;
|
||||||
@ -15,3 +13,4 @@ export type QuestionEditRequest = {
|
|||||||
tags?: Array<string>;
|
tags?: Array<string>;
|
||||||
title?: string;
|
title?: string;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -1,8 +1,7 @@
|
|||||||
/* generated using openapi-typescript-codegen -- do no edit */
|
/* generated using openapi-typescript-codegen -- do not edit */
|
||||||
/* istanbul ignore file */
|
/* istanbul ignore file */
|
||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
export type QuestionQueryRequest = {
|
export type QuestionQueryRequest = {
|
||||||
answer?: string;
|
answer?: string;
|
||||||
content?: string;
|
content?: string;
|
||||||
@ -15,3 +14,4 @@ export type QuestionQueryRequest = {
|
|||||||
title?: string;
|
title?: string;
|
||||||
userId?: number;
|
userId?: number;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
/* generated using openapi-typescript-codegen -- do no edit */
|
/* generated using openapi-typescript-codegen -- do not edit */
|
||||||
/* istanbul ignore file */
|
/* istanbul ignore file */
|
||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
export type QuestionSubmitAddRequest = {
|
export type QuestionSubmitAddRequest = {
|
||||||
code?: string;
|
code?: string;
|
||||||
language?: string;
|
language?: string;
|
||||||
questionId?: number;
|
questionId?: number;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -1,8 +1,7 @@
|
|||||||
/* generated using openapi-typescript-codegen -- do no edit */
|
/* generated using openapi-typescript-codegen -- do not edit */
|
||||||
/* istanbul ignore file */
|
/* istanbul ignore file */
|
||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
export type QuestionSubmitQueryRequest = {
|
export type QuestionSubmitQueryRequest = {
|
||||||
current?: number;
|
current?: number;
|
||||||
language?: string;
|
language?: string;
|
||||||
@ -13,3 +12,4 @@ export type QuestionSubmitQueryRequest = {
|
|||||||
status?: number;
|
status?: number;
|
||||||
userId?: number;
|
userId?: number;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -1,12 +1,10 @@
|
|||||||
/* generated using openapi-typescript-codegen -- do no edit */
|
/* generated using openapi-typescript-codegen -- do not edit */
|
||||||
/* istanbul ignore file */
|
/* istanbul ignore file */
|
||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
import type { JudgeInfo } from './JudgeInfo';
|
import type { JudgeInfo } from './JudgeInfo';
|
||||||
import type { QuestionVO } from './QuestionVO';
|
import type { QuestionVO } from './QuestionVO';
|
||||||
import type { UserVO } from './UserVO';
|
import type { UserVO } from './UserVO';
|
||||||
|
|
||||||
export type QuestionSubmitVO = {
|
export type QuestionSubmitVO = {
|
||||||
code?: string;
|
code?: string;
|
||||||
createTime?: string;
|
createTime?: string;
|
||||||
@ -20,3 +18,4 @@ export type QuestionSubmitVO = {
|
|||||||
userId?: number;
|
userId?: number;
|
||||||
userVO?: UserVO;
|
userVO?: UserVO;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -1,11 +1,9 @@
|
|||||||
/* generated using openapi-typescript-codegen -- do no edit */
|
/* generated using openapi-typescript-codegen -- do not edit */
|
||||||
/* istanbul ignore file */
|
/* istanbul ignore file */
|
||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
import type { JudgeCase } from './JudgeCase';
|
import type { JudgeCase } from './JudgeCase';
|
||||||
import type { JudgeConfig } from './JudgeConfig';
|
import type { JudgeConfig } from './JudgeConfig';
|
||||||
|
|
||||||
export type QuestionUpdateRequest = {
|
export type QuestionUpdateRequest = {
|
||||||
answer?: string;
|
answer?: string;
|
||||||
content?: string;
|
content?: string;
|
||||||
@ -15,3 +13,4 @@ export type QuestionUpdateRequest = {
|
|||||||
tags?: Array<string>;
|
tags?: Array<string>;
|
||||||
title?: string;
|
title?: string;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -1,11 +1,9 @@
|
|||||||
/* generated using openapi-typescript-codegen -- do no edit */
|
/* generated using openapi-typescript-codegen -- do not edit */
|
||||||
/* istanbul ignore file */
|
/* istanbul ignore file */
|
||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
import type { JudgeConfig } from './JudgeConfig';
|
import type { JudgeConfig } from './JudgeConfig';
|
||||||
import type { UserVO } from './UserVO';
|
import type { UserVO } from './UserVO';
|
||||||
|
|
||||||
export type QuestionVO = {
|
export type QuestionVO = {
|
||||||
acceptedNum?: number;
|
acceptedNum?: number;
|
||||||
content?: string;
|
content?: string;
|
||||||
@ -21,3 +19,4 @@ export type QuestionVO = {
|
|||||||
userId?: number;
|
userId?: number;
|
||||||
userVO?: UserVO;
|
userVO?: UserVO;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -1,8 +1,7 @@
|
|||||||
/* generated using openapi-typescript-codegen -- do no edit */
|
/* generated using openapi-typescript-codegen -- do not edit */
|
||||||
/* istanbul ignore file */
|
/* istanbul ignore file */
|
||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
export type User = {
|
export type User = {
|
||||||
createTime?: string;
|
createTime?: string;
|
||||||
id?: number;
|
id?: number;
|
||||||
@ -17,3 +16,4 @@ export type User = {
|
|||||||
userProfile?: string;
|
userProfile?: string;
|
||||||
userRole?: string;
|
userRole?: string;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
/* generated using openapi-typescript-codegen -- do no edit */
|
/* generated using openapi-typescript-codegen -- do not edit */
|
||||||
/* istanbul ignore file */
|
/* istanbul ignore file */
|
||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
export type UserAddRequest = {
|
export type UserAddRequest = {
|
||||||
userAccount?: string;
|
userAccount?: string;
|
||||||
userAvatar?: string;
|
userAvatar?: string;
|
||||||
userName?: string;
|
userName?: string;
|
||||||
userRole?: string;
|
userRole?: string;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
/* generated using openapi-typescript-codegen -- do no edit */
|
/* generated using openapi-typescript-codegen -- do not edit */
|
||||||
/* istanbul ignore file */
|
/* istanbul ignore file */
|
||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
export type UserLoginRequest = {
|
export type UserLoginRequest = {
|
||||||
userAccount?: string;
|
userAccount?: string;
|
||||||
userPassword?: string;
|
userPassword?: string;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -1,8 +1,7 @@
|
|||||||
/* generated using openapi-typescript-codegen -- do no edit */
|
/* generated using openapi-typescript-codegen -- do not edit */
|
||||||
/* istanbul ignore file */
|
/* istanbul ignore file */
|
||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
export type UserQueryRequest = {
|
export type UserQueryRequest = {
|
||||||
current?: number;
|
current?: number;
|
||||||
id?: number;
|
id?: number;
|
||||||
@ -15,3 +14,4 @@ export type UserQueryRequest = {
|
|||||||
userProfile?: string;
|
userProfile?: string;
|
||||||
userRole?: string;
|
userRole?: string;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
/* generated using openapi-typescript-codegen -- do no edit */
|
/* generated using openapi-typescript-codegen -- do not edit */
|
||||||
/* istanbul ignore file */
|
/* istanbul ignore file */
|
||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
export type UserRegisterRequest = {
|
export type UserRegisterRequest = {
|
||||||
checkPassword?: string;
|
checkPassword?: string;
|
||||||
userAccount?: string;
|
userAccount?: string;
|
||||||
userPassword?: string;
|
userPassword?: string;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
/* generated using openapi-typescript-codegen -- do no edit */
|
/* generated using openapi-typescript-codegen -- do not edit */
|
||||||
/* istanbul ignore file */
|
/* istanbul ignore file */
|
||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
export type UserUpdateMyRequest = {
|
export type UserUpdateMyRequest = {
|
||||||
userAvatar?: string;
|
userAvatar?: string;
|
||||||
userName?: string;
|
userName?: string;
|
||||||
userProfile?: string;
|
userProfile?: string;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -1,8 +1,7 @@
|
|||||||
/* generated using openapi-typescript-codegen -- do no edit */
|
/* generated using openapi-typescript-codegen -- do not edit */
|
||||||
/* istanbul ignore file */
|
/* istanbul ignore file */
|
||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
export type UserUpdateRequest = {
|
export type UserUpdateRequest = {
|
||||||
id?: number;
|
id?: number;
|
||||||
userAvatar?: string;
|
userAvatar?: string;
|
||||||
@ -10,3 +9,4 @@ export type UserUpdateRequest = {
|
|||||||
userProfile?: string;
|
userProfile?: string;
|
||||||
userRole?: string;
|
userRole?: string;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -1,8 +1,7 @@
|
|||||||
/* generated using openapi-typescript-codegen -- do no edit */
|
/* generated using openapi-typescript-codegen -- do not edit */
|
||||||
/* istanbul ignore file */
|
/* istanbul ignore file */
|
||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
export type UserVO = {
|
export type UserVO = {
|
||||||
createTime?: string;
|
createTime?: string;
|
||||||
id?: number;
|
id?: number;
|
||||||
@ -11,3 +10,4 @@ export type UserVO = {
|
|||||||
userProfile?: string;
|
userProfile?: string;
|
||||||
userRole?: string;
|
userRole?: string;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -1,27 +1,24 @@
|
|||||||
/* generated using openapi-typescript-codegen -- do no edit */
|
/* generated using openapi-typescript-codegen -- do not edit */
|
||||||
/* istanbul ignore file */
|
/* istanbul ignore file */
|
||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
import type { BaseResponse_string_ } from '../models/BaseResponse_string_';
|
import type { BaseResponse_string_ } from '../models/BaseResponse_string_';
|
||||||
|
|
||||||
import type { CancelablePromise } from '../core/CancelablePromise';
|
import type { CancelablePromise } from '../core/CancelablePromise';
|
||||||
import { OpenAPI } from '../core/OpenAPI';
|
import { OpenAPI } from '../core/OpenAPI';
|
||||||
import { request as __request } from '../core/request';
|
import { request as __request } from '../core/request';
|
||||||
|
|
||||||
export class FileControllerService {
|
export class FileControllerService {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* uploadFile
|
* uploadFile
|
||||||
* @param biz
|
* @param biz
|
||||||
* @param file
|
* @param file
|
||||||
* @returns BaseResponse_string_ OK
|
* @returns BaseResponse_string_ OK
|
||||||
* @returns any Created
|
* @returns any Created
|
||||||
* @throws ApiError
|
* @throws ApiError
|
||||||
*/
|
*/
|
||||||
public static uploadFileUsingPost(
|
public static uploadFileUsingPost(
|
||||||
biz?: string,
|
biz?: string,
|
||||||
file?: Blob,
|
file?: Blob,
|
||||||
): CancelablePromise<BaseResponse_string_ | any> {
|
): CancelablePromise<BaseResponse_string_ | any> {
|
||||||
return __request(OpenAPI, {
|
return __request(OpenAPI, {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
url: '/api/file/upload',
|
url: '/api/file/upload',
|
||||||
@ -38,5 +35,4 @@ file?: Blob,
|
|||||||
},
|
},
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* generated using openapi-typescript-codegen -- do no edit */
|
/* generated using openapi-typescript-codegen -- do not edit */
|
||||||
/* istanbul ignore file */
|
/* istanbul ignore file */
|
||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
@ -11,13 +11,10 @@ import type { PostAddRequest } from '../models/PostAddRequest';
|
|||||||
import type { PostEditRequest } from '../models/PostEditRequest';
|
import type { PostEditRequest } from '../models/PostEditRequest';
|
||||||
import type { PostQueryRequest } from '../models/PostQueryRequest';
|
import type { PostQueryRequest } from '../models/PostQueryRequest';
|
||||||
import type { PostUpdateRequest } from '../models/PostUpdateRequest';
|
import type { PostUpdateRequest } from '../models/PostUpdateRequest';
|
||||||
|
|
||||||
import type { CancelablePromise } from '../core/CancelablePromise';
|
import type { CancelablePromise } from '../core/CancelablePromise';
|
||||||
import { OpenAPI } from '../core/OpenAPI';
|
import { OpenAPI } from '../core/OpenAPI';
|
||||||
import { request as __request } from '../core/request';
|
import { request as __request } from '../core/request';
|
||||||
|
|
||||||
export class PostControllerService {
|
export class PostControllerService {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* addPost
|
* addPost
|
||||||
* @param postAddRequest postAddRequest
|
* @param postAddRequest postAddRequest
|
||||||
@ -26,8 +23,8 @@ export class PostControllerService {
|
|||||||
* @throws ApiError
|
* @throws ApiError
|
||||||
*/
|
*/
|
||||||
public static addPostUsingPost(
|
public static addPostUsingPost(
|
||||||
postAddRequest: PostAddRequest,
|
postAddRequest: PostAddRequest,
|
||||||
): CancelablePromise<BaseResponse_long_ | any> {
|
): CancelablePromise<BaseResponse_long_ | any> {
|
||||||
return __request(OpenAPI, {
|
return __request(OpenAPI, {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
url: '/api/post/add',
|
url: '/api/post/add',
|
||||||
@ -39,7 +36,6 @@ postAddRequest: PostAddRequest,
|
|||||||
},
|
},
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* deletePost
|
* deletePost
|
||||||
* @param deleteRequest deleteRequest
|
* @param deleteRequest deleteRequest
|
||||||
@ -48,8 +44,8 @@ postAddRequest: PostAddRequest,
|
|||||||
* @throws ApiError
|
* @throws ApiError
|
||||||
*/
|
*/
|
||||||
public static deletePostUsingPost(
|
public static deletePostUsingPost(
|
||||||
deleteRequest: DeleteRequest,
|
deleteRequest: DeleteRequest,
|
||||||
): CancelablePromise<BaseResponse_boolean_ | any> {
|
): CancelablePromise<BaseResponse_boolean_ | any> {
|
||||||
return __request(OpenAPI, {
|
return __request(OpenAPI, {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
url: '/api/post/delete',
|
url: '/api/post/delete',
|
||||||
@ -61,7 +57,6 @@ deleteRequest: DeleteRequest,
|
|||||||
},
|
},
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* editPost
|
* editPost
|
||||||
* @param postEditRequest postEditRequest
|
* @param postEditRequest postEditRequest
|
||||||
@ -70,8 +65,8 @@ deleteRequest: DeleteRequest,
|
|||||||
* @throws ApiError
|
* @throws ApiError
|
||||||
*/
|
*/
|
||||||
public static editPostUsingPost(
|
public static editPostUsingPost(
|
||||||
postEditRequest: PostEditRequest,
|
postEditRequest: PostEditRequest,
|
||||||
): CancelablePromise<BaseResponse_boolean_ | any> {
|
): CancelablePromise<BaseResponse_boolean_ | any> {
|
||||||
return __request(OpenAPI, {
|
return __request(OpenAPI, {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
url: '/api/post/edit',
|
url: '/api/post/edit',
|
||||||
@ -83,7 +78,6 @@ postEditRequest: PostEditRequest,
|
|||||||
},
|
},
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* getPostVOById
|
* getPostVOById
|
||||||
* @param id id
|
* @param id id
|
||||||
@ -91,8 +85,8 @@ postEditRequest: PostEditRequest,
|
|||||||
* @throws ApiError
|
* @throws ApiError
|
||||||
*/
|
*/
|
||||||
public static getPostVoByIdUsingGet(
|
public static getPostVoByIdUsingGet(
|
||||||
id?: number,
|
id?: number,
|
||||||
): CancelablePromise<BaseResponse_PostVO_> {
|
): CancelablePromise<BaseResponse_PostVO_> {
|
||||||
return __request(OpenAPI, {
|
return __request(OpenAPI, {
|
||||||
method: 'GET',
|
method: 'GET',
|
||||||
url: '/api/post/get/vo',
|
url: '/api/post/get/vo',
|
||||||
@ -106,7 +100,6 @@ id?: number,
|
|||||||
},
|
},
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* listPostVOByPage
|
* listPostVOByPage
|
||||||
* @param postQueryRequest postQueryRequest
|
* @param postQueryRequest postQueryRequest
|
||||||
@ -115,8 +108,8 @@ id?: number,
|
|||||||
* @throws ApiError
|
* @throws ApiError
|
||||||
*/
|
*/
|
||||||
public static listPostVoByPageUsingPost(
|
public static listPostVoByPageUsingPost(
|
||||||
postQueryRequest: PostQueryRequest,
|
postQueryRequest: PostQueryRequest,
|
||||||
): CancelablePromise<BaseResponse_Page_PostVO_ | any> {
|
): CancelablePromise<BaseResponse_Page_PostVO_ | any> {
|
||||||
return __request(OpenAPI, {
|
return __request(OpenAPI, {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
url: '/api/post/list/page/vo',
|
url: '/api/post/list/page/vo',
|
||||||
@ -128,7 +121,6 @@ postQueryRequest: PostQueryRequest,
|
|||||||
},
|
},
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* listMyPostVOByPage
|
* listMyPostVOByPage
|
||||||
* @param postQueryRequest postQueryRequest
|
* @param postQueryRequest postQueryRequest
|
||||||
@ -137,8 +129,8 @@ postQueryRequest: PostQueryRequest,
|
|||||||
* @throws ApiError
|
* @throws ApiError
|
||||||
*/
|
*/
|
||||||
public static listMyPostVoByPageUsingPost(
|
public static listMyPostVoByPageUsingPost(
|
||||||
postQueryRequest: PostQueryRequest,
|
postQueryRequest: PostQueryRequest,
|
||||||
): CancelablePromise<BaseResponse_Page_PostVO_ | any> {
|
): CancelablePromise<BaseResponse_Page_PostVO_ | any> {
|
||||||
return __request(OpenAPI, {
|
return __request(OpenAPI, {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
url: '/api/post/my/list/page/vo',
|
url: '/api/post/my/list/page/vo',
|
||||||
@ -150,7 +142,6 @@ postQueryRequest: PostQueryRequest,
|
|||||||
},
|
},
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* searchPostVOByPage
|
* searchPostVOByPage
|
||||||
* @param postQueryRequest postQueryRequest
|
* @param postQueryRequest postQueryRequest
|
||||||
@ -159,8 +150,8 @@ postQueryRequest: PostQueryRequest,
|
|||||||
* @throws ApiError
|
* @throws ApiError
|
||||||
*/
|
*/
|
||||||
public static searchPostVoByPageUsingPost(
|
public static searchPostVoByPageUsingPost(
|
||||||
postQueryRequest: PostQueryRequest,
|
postQueryRequest: PostQueryRequest,
|
||||||
): CancelablePromise<BaseResponse_Page_PostVO_ | any> {
|
): CancelablePromise<BaseResponse_Page_PostVO_ | any> {
|
||||||
return __request(OpenAPI, {
|
return __request(OpenAPI, {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
url: '/api/post/search/page/vo',
|
url: '/api/post/search/page/vo',
|
||||||
@ -172,7 +163,6 @@ postQueryRequest: PostQueryRequest,
|
|||||||
},
|
},
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* updatePost
|
* updatePost
|
||||||
* @param postUpdateRequest postUpdateRequest
|
* @param postUpdateRequest postUpdateRequest
|
||||||
@ -181,8 +171,8 @@ postQueryRequest: PostQueryRequest,
|
|||||||
* @throws ApiError
|
* @throws ApiError
|
||||||
*/
|
*/
|
||||||
public static updatePostUsingPost(
|
public static updatePostUsingPost(
|
||||||
postUpdateRequest: PostUpdateRequest,
|
postUpdateRequest: PostUpdateRequest,
|
||||||
): CancelablePromise<BaseResponse_boolean_ | any> {
|
): CancelablePromise<BaseResponse_boolean_ | any> {
|
||||||
return __request(OpenAPI, {
|
return __request(OpenAPI, {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
url: '/api/post/update',
|
url: '/api/post/update',
|
||||||
@ -194,5 +184,4 @@ postUpdateRequest: PostUpdateRequest,
|
|||||||
},
|
},
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* generated using openapi-typescript-codegen -- do no edit */
|
/* generated using openapi-typescript-codegen -- do not edit */
|
||||||
/* istanbul ignore file */
|
/* istanbul ignore file */
|
||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
@ -7,13 +7,10 @@ import type { BaseResponse_Page_PostVO_ } from '../models/BaseResponse_Page_Post
|
|||||||
import type { PostFavourAddRequest } from '../models/PostFavourAddRequest';
|
import type { PostFavourAddRequest } from '../models/PostFavourAddRequest';
|
||||||
import type { PostFavourQueryRequest } from '../models/PostFavourQueryRequest';
|
import type { PostFavourQueryRequest } from '../models/PostFavourQueryRequest';
|
||||||
import type { PostQueryRequest } from '../models/PostQueryRequest';
|
import type { PostQueryRequest } from '../models/PostQueryRequest';
|
||||||
|
|
||||||
import type { CancelablePromise } from '../core/CancelablePromise';
|
import type { CancelablePromise } from '../core/CancelablePromise';
|
||||||
import { OpenAPI } from '../core/OpenAPI';
|
import { OpenAPI } from '../core/OpenAPI';
|
||||||
import { request as __request } from '../core/request';
|
import { request as __request } from '../core/request';
|
||||||
|
|
||||||
export class PostFavourControllerService {
|
export class PostFavourControllerService {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* doPostFavour
|
* doPostFavour
|
||||||
* @param postFavourAddRequest postFavourAddRequest
|
* @param postFavourAddRequest postFavourAddRequest
|
||||||
@ -22,8 +19,8 @@ export class PostFavourControllerService {
|
|||||||
* @throws ApiError
|
* @throws ApiError
|
||||||
*/
|
*/
|
||||||
public static doPostFavourUsingPost(
|
public static doPostFavourUsingPost(
|
||||||
postFavourAddRequest: PostFavourAddRequest,
|
postFavourAddRequest: PostFavourAddRequest,
|
||||||
): CancelablePromise<BaseResponse_int_ | any> {
|
): CancelablePromise<BaseResponse_int_ | any> {
|
||||||
return __request(OpenAPI, {
|
return __request(OpenAPI, {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
url: '/api/post_favour/',
|
url: '/api/post_favour/',
|
||||||
@ -35,7 +32,6 @@ postFavourAddRequest: PostFavourAddRequest,
|
|||||||
},
|
},
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* listFavourPostByPage
|
* listFavourPostByPage
|
||||||
* @param postFavourQueryRequest postFavourQueryRequest
|
* @param postFavourQueryRequest postFavourQueryRequest
|
||||||
@ -44,8 +40,8 @@ postFavourAddRequest: PostFavourAddRequest,
|
|||||||
* @throws ApiError
|
* @throws ApiError
|
||||||
*/
|
*/
|
||||||
public static listFavourPostByPageUsingPost(
|
public static listFavourPostByPageUsingPost(
|
||||||
postFavourQueryRequest: PostFavourQueryRequest,
|
postFavourQueryRequest: PostFavourQueryRequest,
|
||||||
): CancelablePromise<BaseResponse_Page_PostVO_ | any> {
|
): CancelablePromise<BaseResponse_Page_PostVO_ | any> {
|
||||||
return __request(OpenAPI, {
|
return __request(OpenAPI, {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
url: '/api/post_favour/list/page',
|
url: '/api/post_favour/list/page',
|
||||||
@ -57,7 +53,6 @@ postFavourQueryRequest: PostFavourQueryRequest,
|
|||||||
},
|
},
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* listMyFavourPostByPage
|
* listMyFavourPostByPage
|
||||||
* @param postQueryRequest postQueryRequest
|
* @param postQueryRequest postQueryRequest
|
||||||
@ -66,8 +61,8 @@ postFavourQueryRequest: PostFavourQueryRequest,
|
|||||||
* @throws ApiError
|
* @throws ApiError
|
||||||
*/
|
*/
|
||||||
public static listMyFavourPostByPageUsingPost(
|
public static listMyFavourPostByPageUsingPost(
|
||||||
postQueryRequest: PostQueryRequest,
|
postQueryRequest: PostQueryRequest,
|
||||||
): CancelablePromise<BaseResponse_Page_PostVO_ | any> {
|
): CancelablePromise<BaseResponse_Page_PostVO_ | any> {
|
||||||
return __request(OpenAPI, {
|
return __request(OpenAPI, {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
url: '/api/post_favour/my/list/page',
|
url: '/api/post_favour/my/list/page',
|
||||||
@ -79,5 +74,4 @@ postQueryRequest: PostQueryRequest,
|
|||||||
},
|
},
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -1,16 +1,13 @@
|
|||||||
/* generated using openapi-typescript-codegen -- do no edit */
|
/* generated using openapi-typescript-codegen -- do not edit */
|
||||||
/* istanbul ignore file */
|
/* istanbul ignore file */
|
||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
import type { BaseResponse_int_ } from '../models/BaseResponse_int_';
|
import type { BaseResponse_int_ } from '../models/BaseResponse_int_';
|
||||||
import type { PostThumbAddRequest } from '../models/PostThumbAddRequest';
|
import type { PostThumbAddRequest } from '../models/PostThumbAddRequest';
|
||||||
|
|
||||||
import type { CancelablePromise } from '../core/CancelablePromise';
|
import type { CancelablePromise } from '../core/CancelablePromise';
|
||||||
import { OpenAPI } from '../core/OpenAPI';
|
import { OpenAPI } from '../core/OpenAPI';
|
||||||
import { request as __request } from '../core/request';
|
import { request as __request } from '../core/request';
|
||||||
|
|
||||||
export class PostThumbControllerService {
|
export class PostThumbControllerService {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* doThumb
|
* doThumb
|
||||||
* @param postThumbAddRequest postThumbAddRequest
|
* @param postThumbAddRequest postThumbAddRequest
|
||||||
@ -19,8 +16,8 @@ export class PostThumbControllerService {
|
|||||||
* @throws ApiError
|
* @throws ApiError
|
||||||
*/
|
*/
|
||||||
public static doThumbUsingPost(
|
public static doThumbUsingPost(
|
||||||
postThumbAddRequest: PostThumbAddRequest,
|
postThumbAddRequest: PostThumbAddRequest,
|
||||||
): CancelablePromise<BaseResponse_int_ | any> {
|
): CancelablePromise<BaseResponse_int_ | any> {
|
||||||
return __request(OpenAPI, {
|
return __request(OpenAPI, {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
url: '/api/post_thumb/',
|
url: '/api/post_thumb/',
|
||||||
@ -32,5 +29,4 @@ postThumbAddRequest: PostThumbAddRequest,
|
|||||||
},
|
},
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* generated using openapi-typescript-codegen -- do no edit */
|
/* generated using openapi-typescript-codegen -- do not edit */
|
||||||
/* istanbul ignore file */
|
/* istanbul ignore file */
|
||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
@ -16,13 +16,10 @@ import type { QuestionQueryRequest } from '../models/QuestionQueryRequest';
|
|||||||
import type { QuestionSubmitAddRequest } from '../models/QuestionSubmitAddRequest';
|
import type { QuestionSubmitAddRequest } from '../models/QuestionSubmitAddRequest';
|
||||||
import type { QuestionSubmitQueryRequest } from '../models/QuestionSubmitQueryRequest';
|
import type { QuestionSubmitQueryRequest } from '../models/QuestionSubmitQueryRequest';
|
||||||
import type { QuestionUpdateRequest } from '../models/QuestionUpdateRequest';
|
import type { QuestionUpdateRequest } from '../models/QuestionUpdateRequest';
|
||||||
|
|
||||||
import type { CancelablePromise } from '../core/CancelablePromise';
|
import type { CancelablePromise } from '../core/CancelablePromise';
|
||||||
import { OpenAPI } from '../core/OpenAPI';
|
import { OpenAPI } from '../core/OpenAPI';
|
||||||
import { request as __request } from '../core/request';
|
import { request as __request } from '../core/request';
|
||||||
|
|
||||||
export class QuestionControllerService {
|
export class QuestionControllerService {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* addQuestion
|
* addQuestion
|
||||||
* @param questionAddRequest questionAddRequest
|
* @param questionAddRequest questionAddRequest
|
||||||
@ -31,8 +28,8 @@ export class QuestionControllerService {
|
|||||||
* @throws ApiError
|
* @throws ApiError
|
||||||
*/
|
*/
|
||||||
public static addQuestionUsingPost(
|
public static addQuestionUsingPost(
|
||||||
questionAddRequest: QuestionAddRequest,
|
questionAddRequest: QuestionAddRequest,
|
||||||
): CancelablePromise<BaseResponse_long_ | any> {
|
): CancelablePromise<BaseResponse_long_ | any> {
|
||||||
return __request(OpenAPI, {
|
return __request(OpenAPI, {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
url: '/api/question/add',
|
url: '/api/question/add',
|
||||||
@ -44,7 +41,6 @@ questionAddRequest: QuestionAddRequest,
|
|||||||
},
|
},
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* deleteQuestion
|
* deleteQuestion
|
||||||
* @param deleteRequest deleteRequest
|
* @param deleteRequest deleteRequest
|
||||||
@ -53,8 +49,8 @@ questionAddRequest: QuestionAddRequest,
|
|||||||
* @throws ApiError
|
* @throws ApiError
|
||||||
*/
|
*/
|
||||||
public static deleteQuestionUsingPost(
|
public static deleteQuestionUsingPost(
|
||||||
deleteRequest: DeleteRequest,
|
deleteRequest: DeleteRequest,
|
||||||
): CancelablePromise<BaseResponse_boolean_ | any> {
|
): CancelablePromise<BaseResponse_boolean_ | any> {
|
||||||
return __request(OpenAPI, {
|
return __request(OpenAPI, {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
url: '/api/question/delete',
|
url: '/api/question/delete',
|
||||||
@ -66,7 +62,6 @@ deleteRequest: DeleteRequest,
|
|||||||
},
|
},
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* editQuestion
|
* editQuestion
|
||||||
* @param questionEditRequest questionEditRequest
|
* @param questionEditRequest questionEditRequest
|
||||||
@ -75,8 +70,8 @@ deleteRequest: DeleteRequest,
|
|||||||
* @throws ApiError
|
* @throws ApiError
|
||||||
*/
|
*/
|
||||||
public static editQuestionUsingPost(
|
public static editQuestionUsingPost(
|
||||||
questionEditRequest: QuestionEditRequest,
|
questionEditRequest: QuestionEditRequest,
|
||||||
): CancelablePromise<BaseResponse_boolean_ | any> {
|
): CancelablePromise<BaseResponse_boolean_ | any> {
|
||||||
return __request(OpenAPI, {
|
return __request(OpenAPI, {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
url: '/api/question/edit',
|
url: '/api/question/edit',
|
||||||
@ -88,7 +83,6 @@ questionEditRequest: QuestionEditRequest,
|
|||||||
},
|
},
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* getQuestionById
|
* getQuestionById
|
||||||
* @param id id
|
* @param id id
|
||||||
@ -96,8 +90,8 @@ questionEditRequest: QuestionEditRequest,
|
|||||||
* @throws ApiError
|
* @throws ApiError
|
||||||
*/
|
*/
|
||||||
public static getQuestionByIdUsingGet(
|
public static getQuestionByIdUsingGet(
|
||||||
id?: number,
|
id?: number,
|
||||||
): CancelablePromise<BaseResponse_Question_> {
|
): CancelablePromise<BaseResponse_Question_> {
|
||||||
return __request(OpenAPI, {
|
return __request(OpenAPI, {
|
||||||
method: 'GET',
|
method: 'GET',
|
||||||
url: '/api/question/get',
|
url: '/api/question/get',
|
||||||
@ -111,7 +105,6 @@ id?: number,
|
|||||||
},
|
},
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* getQuestionVOById
|
* getQuestionVOById
|
||||||
* @param id id
|
* @param id id
|
||||||
@ -119,8 +112,8 @@ id?: number,
|
|||||||
* @throws ApiError
|
* @throws ApiError
|
||||||
*/
|
*/
|
||||||
public static getQuestionVoByIdUsingGet(
|
public static getQuestionVoByIdUsingGet(
|
||||||
id?: number,
|
id?: number,
|
||||||
): CancelablePromise<BaseResponse_QuestionVO_> {
|
): CancelablePromise<BaseResponse_QuestionVO_> {
|
||||||
return __request(OpenAPI, {
|
return __request(OpenAPI, {
|
||||||
method: 'GET',
|
method: 'GET',
|
||||||
url: '/api/question/get/vo',
|
url: '/api/question/get/vo',
|
||||||
@ -134,7 +127,6 @@ id?: number,
|
|||||||
},
|
},
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* listQuestionByPage
|
* listQuestionByPage
|
||||||
* @param questionQueryRequest questionQueryRequest
|
* @param questionQueryRequest questionQueryRequest
|
||||||
@ -143,8 +135,8 @@ id?: number,
|
|||||||
* @throws ApiError
|
* @throws ApiError
|
||||||
*/
|
*/
|
||||||
public static listQuestionByPageUsingPost(
|
public static listQuestionByPageUsingPost(
|
||||||
questionQueryRequest: QuestionQueryRequest,
|
questionQueryRequest: QuestionQueryRequest,
|
||||||
): CancelablePromise<BaseResponse_Page_Question_ | any> {
|
): CancelablePromise<BaseResponse_Page_Question_ | any> {
|
||||||
return __request(OpenAPI, {
|
return __request(OpenAPI, {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
url: '/api/question/list/page',
|
url: '/api/question/list/page',
|
||||||
@ -156,7 +148,6 @@ questionQueryRequest: QuestionQueryRequest,
|
|||||||
},
|
},
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* listQuestionVOByPage
|
* listQuestionVOByPage
|
||||||
* @param questionQueryRequest questionQueryRequest
|
* @param questionQueryRequest questionQueryRequest
|
||||||
@ -165,8 +156,8 @@ questionQueryRequest: QuestionQueryRequest,
|
|||||||
* @throws ApiError
|
* @throws ApiError
|
||||||
*/
|
*/
|
||||||
public static listQuestionVoByPageUsingPost(
|
public static listQuestionVoByPageUsingPost(
|
||||||
questionQueryRequest: QuestionQueryRequest,
|
questionQueryRequest: QuestionQueryRequest,
|
||||||
): CancelablePromise<BaseResponse_Page_QuestionVO_ | any> {
|
): CancelablePromise<BaseResponse_Page_QuestionVO_ | any> {
|
||||||
return __request(OpenAPI, {
|
return __request(OpenAPI, {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
url: '/api/question/list/page/vo',
|
url: '/api/question/list/page/vo',
|
||||||
@ -178,7 +169,6 @@ questionQueryRequest: QuestionQueryRequest,
|
|||||||
},
|
},
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* listMyQuestionVOByPage
|
* listMyQuestionVOByPage
|
||||||
* @param questionQueryRequest questionQueryRequest
|
* @param questionQueryRequest questionQueryRequest
|
||||||
@ -187,8 +177,8 @@ questionQueryRequest: QuestionQueryRequest,
|
|||||||
* @throws ApiError
|
* @throws ApiError
|
||||||
*/
|
*/
|
||||||
public static listMyQuestionVoByPageUsingPost(
|
public static listMyQuestionVoByPageUsingPost(
|
||||||
questionQueryRequest: QuestionQueryRequest,
|
questionQueryRequest: QuestionQueryRequest,
|
||||||
): CancelablePromise<BaseResponse_Page_QuestionVO_ | any> {
|
): CancelablePromise<BaseResponse_Page_QuestionVO_ | any> {
|
||||||
return __request(OpenAPI, {
|
return __request(OpenAPI, {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
url: '/api/question/my/list/page/vo',
|
url: '/api/question/my/list/page/vo',
|
||||||
@ -200,7 +190,6 @@ questionQueryRequest: QuestionQueryRequest,
|
|||||||
},
|
},
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* doQuestionSubmit
|
* doQuestionSubmit
|
||||||
* @param questionSubmitAddRequest questionSubmitAddRequest
|
* @param questionSubmitAddRequest questionSubmitAddRequest
|
||||||
@ -209,8 +198,8 @@ questionQueryRequest: QuestionQueryRequest,
|
|||||||
* @throws ApiError
|
* @throws ApiError
|
||||||
*/
|
*/
|
||||||
public static doQuestionSubmitUsingPost(
|
public static doQuestionSubmitUsingPost(
|
||||||
questionSubmitAddRequest: QuestionSubmitAddRequest,
|
questionSubmitAddRequest: QuestionSubmitAddRequest,
|
||||||
): CancelablePromise<BaseResponse_long_ | any> {
|
): CancelablePromise<BaseResponse_long_ | any> {
|
||||||
return __request(OpenAPI, {
|
return __request(OpenAPI, {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
url: '/api/question/question_submit/do',
|
url: '/api/question/question_submit/do',
|
||||||
@ -222,7 +211,6 @@ questionSubmitAddRequest: QuestionSubmitAddRequest,
|
|||||||
},
|
},
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* listQuestionSubmitByPage
|
* listQuestionSubmitByPage
|
||||||
* @param questionSubmitQueryRequest questionSubmitQueryRequest
|
* @param questionSubmitQueryRequest questionSubmitQueryRequest
|
||||||
@ -231,8 +219,8 @@ questionSubmitAddRequest: QuestionSubmitAddRequest,
|
|||||||
* @throws ApiError
|
* @throws ApiError
|
||||||
*/
|
*/
|
||||||
public static listQuestionSubmitByPageUsingPost(
|
public static listQuestionSubmitByPageUsingPost(
|
||||||
questionSubmitQueryRequest: QuestionSubmitQueryRequest,
|
questionSubmitQueryRequest: QuestionSubmitQueryRequest,
|
||||||
): CancelablePromise<BaseResponse_Page_QuestionSubmitVO_ | any> {
|
): CancelablePromise<BaseResponse_Page_QuestionSubmitVO_ | any> {
|
||||||
return __request(OpenAPI, {
|
return __request(OpenAPI, {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
url: '/api/question/question_submit/list/page',
|
url: '/api/question/question_submit/list/page',
|
||||||
@ -244,7 +232,6 @@ questionSubmitQueryRequest: QuestionSubmitQueryRequest,
|
|||||||
},
|
},
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* updateQuestion
|
* updateQuestion
|
||||||
* @param questionUpdateRequest questionUpdateRequest
|
* @param questionUpdateRequest questionUpdateRequest
|
||||||
@ -253,8 +240,8 @@ questionSubmitQueryRequest: QuestionSubmitQueryRequest,
|
|||||||
* @throws ApiError
|
* @throws ApiError
|
||||||
*/
|
*/
|
||||||
public static updateQuestionUsingPost(
|
public static updateQuestionUsingPost(
|
||||||
questionUpdateRequest: QuestionUpdateRequest,
|
questionUpdateRequest: QuestionUpdateRequest,
|
||||||
): CancelablePromise<BaseResponse_boolean_ | any> {
|
): CancelablePromise<BaseResponse_boolean_ | any> {
|
||||||
return __request(OpenAPI, {
|
return __request(OpenAPI, {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
url: '/api/question/update',
|
url: '/api/question/update',
|
||||||
@ -266,5 +253,4 @@ questionUpdateRequest: QuestionUpdateRequest,
|
|||||||
},
|
},
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* generated using openapi-typescript-codegen -- do no edit */
|
/* generated using openapi-typescript-codegen -- do not edit */
|
||||||
/* istanbul ignore file */
|
/* istanbul ignore file */
|
||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
@ -16,13 +16,10 @@ import type { UserQueryRequest } from '../models/UserQueryRequest';
|
|||||||
import type { UserRegisterRequest } from '../models/UserRegisterRequest';
|
import type { UserRegisterRequest } from '../models/UserRegisterRequest';
|
||||||
import type { UserUpdateMyRequest } from '../models/UserUpdateMyRequest';
|
import type { UserUpdateMyRequest } from '../models/UserUpdateMyRequest';
|
||||||
import type { UserUpdateRequest } from '../models/UserUpdateRequest';
|
import type { UserUpdateRequest } from '../models/UserUpdateRequest';
|
||||||
|
|
||||||
import type { CancelablePromise } from '../core/CancelablePromise';
|
import type { CancelablePromise } from '../core/CancelablePromise';
|
||||||
import { OpenAPI } from '../core/OpenAPI';
|
import { OpenAPI } from '../core/OpenAPI';
|
||||||
import { request as __request } from '../core/request';
|
import { request as __request } from '../core/request';
|
||||||
|
|
||||||
export class UserControllerService {
|
export class UserControllerService {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* addUser
|
* addUser
|
||||||
* @param userAddRequest userAddRequest
|
* @param userAddRequest userAddRequest
|
||||||
@ -31,8 +28,8 @@ export class UserControllerService {
|
|||||||
* @throws ApiError
|
* @throws ApiError
|
||||||
*/
|
*/
|
||||||
public static addUserUsingPost(
|
public static addUserUsingPost(
|
||||||
userAddRequest: UserAddRequest,
|
userAddRequest: UserAddRequest,
|
||||||
): CancelablePromise<BaseResponse_long_ | any> {
|
): CancelablePromise<BaseResponse_long_ | any> {
|
||||||
return __request(OpenAPI, {
|
return __request(OpenAPI, {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
url: '/api/user/add',
|
url: '/api/user/add',
|
||||||
@ -44,7 +41,6 @@ userAddRequest: UserAddRequest,
|
|||||||
},
|
},
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* deleteUser
|
* deleteUser
|
||||||
* @param deleteRequest deleteRequest
|
* @param deleteRequest deleteRequest
|
||||||
@ -53,8 +49,8 @@ userAddRequest: UserAddRequest,
|
|||||||
* @throws ApiError
|
* @throws ApiError
|
||||||
*/
|
*/
|
||||||
public static deleteUserUsingPost(
|
public static deleteUserUsingPost(
|
||||||
deleteRequest: DeleteRequest,
|
deleteRequest: DeleteRequest,
|
||||||
): CancelablePromise<BaseResponse_boolean_ | any> {
|
): CancelablePromise<BaseResponse_boolean_ | any> {
|
||||||
return __request(OpenAPI, {
|
return __request(OpenAPI, {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
url: '/api/user/delete',
|
url: '/api/user/delete',
|
||||||
@ -66,7 +62,6 @@ deleteRequest: DeleteRequest,
|
|||||||
},
|
},
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* getUserById
|
* getUserById
|
||||||
* @param id id
|
* @param id id
|
||||||
@ -74,8 +69,8 @@ deleteRequest: DeleteRequest,
|
|||||||
* @throws ApiError
|
* @throws ApiError
|
||||||
*/
|
*/
|
||||||
public static getUserByIdUsingGet(
|
public static getUserByIdUsingGet(
|
||||||
id?: number,
|
id?: number,
|
||||||
): CancelablePromise<BaseResponse_User_> {
|
): CancelablePromise<BaseResponse_User_> {
|
||||||
return __request(OpenAPI, {
|
return __request(OpenAPI, {
|
||||||
method: 'GET',
|
method: 'GET',
|
||||||
url: '/api/user/get',
|
url: '/api/user/get',
|
||||||
@ -89,7 +84,6 @@ id?: number,
|
|||||||
},
|
},
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* getLoginUser
|
* getLoginUser
|
||||||
* @returns BaseResponse_LoginUserVO_ OK
|
* @returns BaseResponse_LoginUserVO_ OK
|
||||||
@ -106,7 +100,6 @@ id?: number,
|
|||||||
},
|
},
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* getUserVOById
|
* getUserVOById
|
||||||
* @param id id
|
* @param id id
|
||||||
@ -114,8 +107,8 @@ id?: number,
|
|||||||
* @throws ApiError
|
* @throws ApiError
|
||||||
*/
|
*/
|
||||||
public static getUserVoByIdUsingGet(
|
public static getUserVoByIdUsingGet(
|
||||||
id?: number,
|
id?: number,
|
||||||
): CancelablePromise<BaseResponse_UserVO_> {
|
): CancelablePromise<BaseResponse_UserVO_> {
|
||||||
return __request(OpenAPI, {
|
return __request(OpenAPI, {
|
||||||
method: 'GET',
|
method: 'GET',
|
||||||
url: '/api/user/get/vo',
|
url: '/api/user/get/vo',
|
||||||
@ -129,7 +122,6 @@ id?: number,
|
|||||||
},
|
},
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* listUserByPage
|
* listUserByPage
|
||||||
* @param userQueryRequest userQueryRequest
|
* @param userQueryRequest userQueryRequest
|
||||||
@ -138,8 +130,8 @@ id?: number,
|
|||||||
* @throws ApiError
|
* @throws ApiError
|
||||||
*/
|
*/
|
||||||
public static listUserByPageUsingPost(
|
public static listUserByPageUsingPost(
|
||||||
userQueryRequest: UserQueryRequest,
|
userQueryRequest: UserQueryRequest,
|
||||||
): CancelablePromise<BaseResponse_Page_User_ | any> {
|
): CancelablePromise<BaseResponse_Page_User_ | any> {
|
||||||
return __request(OpenAPI, {
|
return __request(OpenAPI, {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
url: '/api/user/list/page',
|
url: '/api/user/list/page',
|
||||||
@ -151,7 +143,6 @@ userQueryRequest: UserQueryRequest,
|
|||||||
},
|
},
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* listUserVOByPage
|
* listUserVOByPage
|
||||||
* @param userQueryRequest userQueryRequest
|
* @param userQueryRequest userQueryRequest
|
||||||
@ -160,8 +151,8 @@ userQueryRequest: UserQueryRequest,
|
|||||||
* @throws ApiError
|
* @throws ApiError
|
||||||
*/
|
*/
|
||||||
public static listUserVoByPageUsingPost(
|
public static listUserVoByPageUsingPost(
|
||||||
userQueryRequest: UserQueryRequest,
|
userQueryRequest: UserQueryRequest,
|
||||||
): CancelablePromise<BaseResponse_Page_UserVO_ | any> {
|
): CancelablePromise<BaseResponse_Page_UserVO_ | any> {
|
||||||
return __request(OpenAPI, {
|
return __request(OpenAPI, {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
url: '/api/user/list/page/vo',
|
url: '/api/user/list/page/vo',
|
||||||
@ -173,7 +164,6 @@ userQueryRequest: UserQueryRequest,
|
|||||||
},
|
},
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* userLogin
|
* userLogin
|
||||||
* @param userLoginRequest userLoginRequest
|
* @param userLoginRequest userLoginRequest
|
||||||
@ -182,8 +172,8 @@ userQueryRequest: UserQueryRequest,
|
|||||||
* @throws ApiError
|
* @throws ApiError
|
||||||
*/
|
*/
|
||||||
public static userLoginUsingPost(
|
public static userLoginUsingPost(
|
||||||
userLoginRequest: UserLoginRequest,
|
userLoginRequest: UserLoginRequest,
|
||||||
): CancelablePromise<BaseResponse_LoginUserVO_ | any> {
|
): CancelablePromise<BaseResponse_LoginUserVO_ | any> {
|
||||||
return __request(OpenAPI, {
|
return __request(OpenAPI, {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
url: '/api/user/login',
|
url: '/api/user/login',
|
||||||
@ -195,7 +185,6 @@ userLoginRequest: UserLoginRequest,
|
|||||||
},
|
},
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* userLoginByWxOpen
|
* userLoginByWxOpen
|
||||||
* @param code code
|
* @param code code
|
||||||
@ -203,8 +192,8 @@ userLoginRequest: UserLoginRequest,
|
|||||||
* @throws ApiError
|
* @throws ApiError
|
||||||
*/
|
*/
|
||||||
public static userLoginByWxOpenUsingGet(
|
public static userLoginByWxOpenUsingGet(
|
||||||
code: string,
|
code: string,
|
||||||
): CancelablePromise<BaseResponse_LoginUserVO_> {
|
): CancelablePromise<BaseResponse_LoginUserVO_> {
|
||||||
return __request(OpenAPI, {
|
return __request(OpenAPI, {
|
||||||
method: 'GET',
|
method: 'GET',
|
||||||
url: '/api/user/login/wx_open',
|
url: '/api/user/login/wx_open',
|
||||||
@ -218,7 +207,6 @@ code: string,
|
|||||||
},
|
},
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* userLogout
|
* userLogout
|
||||||
* @returns BaseResponse_boolean_ OK
|
* @returns BaseResponse_boolean_ OK
|
||||||
@ -236,7 +224,6 @@ code: string,
|
|||||||
},
|
},
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* userRegister
|
* userRegister
|
||||||
* @param userRegisterRequest userRegisterRequest
|
* @param userRegisterRequest userRegisterRequest
|
||||||
@ -245,8 +232,8 @@ code: string,
|
|||||||
* @throws ApiError
|
* @throws ApiError
|
||||||
*/
|
*/
|
||||||
public static userRegisterUsingPost(
|
public static userRegisterUsingPost(
|
||||||
userRegisterRequest: UserRegisterRequest,
|
userRegisterRequest: UserRegisterRequest,
|
||||||
): CancelablePromise<BaseResponse_long_ | any> {
|
): CancelablePromise<BaseResponse_long_ | any> {
|
||||||
return __request(OpenAPI, {
|
return __request(OpenAPI, {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
url: '/api/user/register',
|
url: '/api/user/register',
|
||||||
@ -258,7 +245,6 @@ userRegisterRequest: UserRegisterRequest,
|
|||||||
},
|
},
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* updateUser
|
* updateUser
|
||||||
* @param userUpdateRequest userUpdateRequest
|
* @param userUpdateRequest userUpdateRequest
|
||||||
@ -267,8 +253,8 @@ userRegisterRequest: UserRegisterRequest,
|
|||||||
* @throws ApiError
|
* @throws ApiError
|
||||||
*/
|
*/
|
||||||
public static updateUserUsingPost(
|
public static updateUserUsingPost(
|
||||||
userUpdateRequest: UserUpdateRequest,
|
userUpdateRequest: UserUpdateRequest,
|
||||||
): CancelablePromise<BaseResponse_boolean_ | any> {
|
): CancelablePromise<BaseResponse_boolean_ | any> {
|
||||||
return __request(OpenAPI, {
|
return __request(OpenAPI, {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
url: '/api/user/update',
|
url: '/api/user/update',
|
||||||
@ -280,7 +266,6 @@ userUpdateRequest: UserUpdateRequest,
|
|||||||
},
|
},
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* updateMyUser
|
* updateMyUser
|
||||||
* @param userUpdateMyRequest userUpdateMyRequest
|
* @param userUpdateMyRequest userUpdateMyRequest
|
||||||
@ -289,8 +274,8 @@ userUpdateRequest: UserUpdateRequest,
|
|||||||
* @throws ApiError
|
* @throws ApiError
|
||||||
*/
|
*/
|
||||||
public static updateMyUserUsingPost(
|
public static updateMyUserUsingPost(
|
||||||
userUpdateMyRequest: UserUpdateMyRequest,
|
userUpdateMyRequest: UserUpdateMyRequest,
|
||||||
): CancelablePromise<BaseResponse_boolean_ | any> {
|
): CancelablePromise<BaseResponse_boolean_ | any> {
|
||||||
return __request(OpenAPI, {
|
return __request(OpenAPI, {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
url: '/api/user/update/my',
|
url: '/api/user/update/my',
|
||||||
@ -302,5 +287,4 @@ userUpdateMyRequest: UserUpdateMyRequest,
|
|||||||
},
|
},
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -1,13 +1,11 @@
|
|||||||
/* generated using openapi-typescript-codegen -- do no edit */
|
/* generated using openapi-typescript-codegen -- do not edit */
|
||||||
/* istanbul ignore file */
|
/* istanbul ignore file */
|
||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
import type { CancelablePromise } from '../core/CancelablePromise';
|
import type { CancelablePromise } from '../core/CancelablePromise';
|
||||||
import { OpenAPI } from '../core/OpenAPI';
|
import { OpenAPI } from '../core/OpenAPI';
|
||||||
import { request as __request } from '../core/request';
|
import { request as __request } from '../core/request';
|
||||||
|
|
||||||
export class WxMpControllerService {
|
export class WxMpControllerService {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* check
|
* check
|
||||||
* @param echostr echostr
|
* @param echostr echostr
|
||||||
@ -18,11 +16,11 @@ export class WxMpControllerService {
|
|||||||
* @throws ApiError
|
* @throws ApiError
|
||||||
*/
|
*/
|
||||||
public static checkUsingGet(
|
public static checkUsingGet(
|
||||||
echostr?: string,
|
echostr?: string,
|
||||||
nonce?: string,
|
nonce?: string,
|
||||||
signature?: string,
|
signature?: string,
|
||||||
timestamp?: string,
|
timestamp?: string,
|
||||||
): CancelablePromise<string> {
|
): CancelablePromise<string> {
|
||||||
return __request(OpenAPI, {
|
return __request(OpenAPI, {
|
||||||
method: 'GET',
|
method: 'GET',
|
||||||
url: '/api/',
|
url: '/api/',
|
||||||
@ -39,7 +37,6 @@ timestamp?: string,
|
|||||||
},
|
},
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* receiveMessage
|
* receiveMessage
|
||||||
* @returns any OK
|
* @returns any OK
|
||||||
@ -56,7 +53,6 @@ timestamp?: string,
|
|||||||
},
|
},
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* setMenu
|
* setMenu
|
||||||
* @returns string OK
|
* @returns string OK
|
||||||
@ -73,5 +69,4 @@ timestamp?: string,
|
|||||||
},
|
},
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* generated using openapi-typescript-codegen -- do not edit */
|
/* generated using openapi-typescript-codegen -- do no edit */
|
||||||
/* istanbul ignore file */
|
/* istanbul ignore file */
|
||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
@ -1,4 +1,4 @@
|
|||||||
/* generated using openapi-typescript-codegen -- do not edit */
|
/* generated using openapi-typescript-codegen -- do no edit */
|
||||||
/* istanbul ignore file */
|
/* istanbul ignore file */
|
||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
@ -1,4 +1,4 @@
|
|||||||
/* generated using openapi-typescript-codegen -- do not edit */
|
/* generated using openapi-typescript-codegen -- do no edit */
|
||||||
/* istanbul ignore file */
|
/* istanbul ignore file */
|
||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
@ -1,4 +1,4 @@
|
|||||||
/* generated using openapi-typescript-codegen -- do not edit */
|
/* generated using openapi-typescript-codegen -- do no edit */
|
||||||
/* istanbul ignore file */
|
/* istanbul ignore file */
|
||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
@ -51,7 +51,7 @@ export class CancelablePromise<T> implements Promise<T> {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
this.#isResolved = true;
|
this.#isResolved = true;
|
||||||
if (this.#resolve) this.#resolve(value);
|
this.#resolve?.(value);
|
||||||
};
|
};
|
||||||
|
|
||||||
const onReject = (reason?: any): void => {
|
const onReject = (reason?: any): void => {
|
||||||
@ -59,7 +59,7 @@ export class CancelablePromise<T> implements Promise<T> {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
this.#isRejected = true;
|
this.#isRejected = true;
|
||||||
if (this.#reject) this.#reject(reason);
|
this.#reject?.(reason);
|
||||||
};
|
};
|
||||||
|
|
||||||
const onCancel = (cancelHandler: () => void): void => {
|
const onCancel = (cancelHandler: () => void): void => {
|
||||||
@ -85,9 +85,9 @@ export class CancelablePromise<T> implements Promise<T> {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
get [Symbol.toStringTag]() {
|
get [Symbol.toStringTag]() {
|
||||||
return "Cancellable Promise";
|
return "Cancellable Promise";
|
||||||
}
|
}
|
||||||
|
|
||||||
public then<TResult1 = T, TResult2 = never>(
|
public then<TResult1 = T, TResult2 = never>(
|
||||||
onFulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | null,
|
onFulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | null,
|
||||||
@ -122,7 +122,7 @@ export class CancelablePromise<T> implements Promise<T> {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
this.#cancelHandlers.length = 0;
|
this.#cancelHandlers.length = 0;
|
||||||
if (this.#reject) this.#reject(new CancelError('Request aborted'));
|
this.#reject?.(new CancelError('Request aborted'));
|
||||||
}
|
}
|
||||||
|
|
||||||
public get isCancelled(): boolean {
|
public get isCancelled(): boolean {
|
@ -1,4 +1,4 @@
|
|||||||
/* generated using openapi-typescript-codegen -- do not edit */
|
/* generated using openapi-typescript-codegen -- do no edit */
|
||||||
/* istanbul ignore file */
|
/* istanbul ignore file */
|
||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
@ -20,7 +20,7 @@ export type OpenAPIConfig = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
export const OpenAPI: OpenAPIConfig = {
|
export const OpenAPI: OpenAPIConfig = {
|
||||||
BASE: 'http://127.0.0.1:8101',
|
BASE: 'http://localhost:8101',
|
||||||
VERSION: '1.0',
|
VERSION: '1.0',
|
||||||
WITH_CREDENTIALS: true,
|
WITH_CREDENTIALS: true,
|
||||||
CREDENTIALS: 'include',
|
CREDENTIALS: 'include',
|
@ -1,4 +1,4 @@
|
|||||||
/* generated using openapi-typescript-codegen -- do not edit */
|
/* generated using openapi-typescript-codegen -- do no edit */
|
||||||
/* istanbul ignore file */
|
/* istanbul ignore file */
|
||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
@ -145,13 +145,10 @@ export const resolve = async <T>(options: ApiRequestOptions, resolver?: T | Reso
|
|||||||
};
|
};
|
||||||
|
|
||||||
export const getHeaders = async (config: OpenAPIConfig, options: ApiRequestOptions, formData?: FormData): Promise<Record<string, string>> => {
|
export const getHeaders = async (config: OpenAPIConfig, options: ApiRequestOptions, formData?: FormData): Promise<Record<string, string>> => {
|
||||||
const [token, username, password, additionalHeaders] = await Promise.all([
|
const token = await resolve(options, config.TOKEN);
|
||||||
resolve(options, config.TOKEN),
|
const username = await resolve(options, config.USERNAME);
|
||||||
resolve(options, config.USERNAME),
|
const password = await resolve(options, config.PASSWORD);
|
||||||
resolve(options, config.PASSWORD),
|
const additionalHeaders = await resolve(options, config.HEADERS);
|
||||||
resolve(options, config.HEADERS),
|
|
||||||
]);
|
|
||||||
|
|
||||||
const formHeaders = typeof formData?.getHeaders === 'function' && formData?.getHeaders() || {}
|
const formHeaders = typeof formData?.getHeaders === 'function' && formData?.getHeaders() || {}
|
||||||
|
|
||||||
const headers = Object.entries({
|
const headers = Object.entries({
|
||||||
@ -175,7 +172,7 @@ export const getHeaders = async (config: OpenAPIConfig, options: ApiRequestOptio
|
|||||||
headers['Authorization'] = `Basic ${credentials}`;
|
headers['Authorization'] = `Basic ${credentials}`;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (options.body !== undefined) {
|
if (options.body) {
|
||||||
if (options.mediaType) {
|
if (options.mediaType) {
|
||||||
headers['Content-Type'] = options.mediaType;
|
headers['Content-Type'] = options.mediaType;
|
||||||
} else if (isBlob(options.body)) {
|
} else if (isBlob(options.body)) {
|
||||||
@ -215,7 +212,6 @@ export const sendRequest = async <T>(
|
|||||||
data: body ?? formData,
|
data: body ?? formData,
|
||||||
method: options.method,
|
method: options.method,
|
||||||
withCredentials: config.WITH_CREDENTIALS,
|
withCredentials: config.WITH_CREDENTIALS,
|
||||||
withXSRFToken: config.CREDENTIALS === 'include' ? config.WITH_CREDENTIALS : false,
|
|
||||||
cancelToken: source.token,
|
cancelToken: source.token,
|
||||||
};
|
};
|
||||||
|
|
70
generateds/index.ts
Normal file
70
generateds/index.ts
Normal file
@ -0,0 +1,70 @@
|
|||||||
|
/* generated using openapi-typescript-codegen -- do no edit */
|
||||||
|
/* istanbul ignore file */
|
||||||
|
/* tslint:disable */
|
||||||
|
/* eslint-disable */
|
||||||
|
export { ApiError } from "./core/ApiError";
|
||||||
|
export { CancelablePromise, CancelError } from "./core/CancelablePromise";
|
||||||
|
export { OpenAPI } from "./core/OpenAPI";
|
||||||
|
export type { OpenAPIConfig } from "./core/OpenAPI";
|
||||||
|
|
||||||
|
export type { BaseResponse_boolean_ } from "./models/BaseResponse_boolean_";
|
||||||
|
export type { BaseResponse_int_ } from "./models/BaseResponse_int_";
|
||||||
|
export type { BaseResponse_LoginUserVO_ } from "./models/BaseResponse_LoginUserVO_";
|
||||||
|
export type { BaseResponse_long_ } from "./models/BaseResponse_long_";
|
||||||
|
export type { BaseResponse_Page_PostVO_ } from "./models/BaseResponse_Page_PostVO_";
|
||||||
|
export type { BaseResponse_Page_Question_ } from "./models/BaseResponse_Page_Question_";
|
||||||
|
export type { BaseResponse_Page_QuestionSubmitVO_ } from "./models/BaseResponse_Page_QuestionSubmitVO_";
|
||||||
|
export type { BaseResponse_Page_QuestionVO_ } from "./models/BaseResponse_Page_QuestionVO_";
|
||||||
|
export type { BaseResponse_Page_User_ } from "./models/BaseResponse_Page_User_";
|
||||||
|
export type { BaseResponse_Page_UserVO_ } from "./models/BaseResponse_Page_UserVO_";
|
||||||
|
export type { BaseResponse_PostVO_ } from "./models/BaseResponse_PostVO_";
|
||||||
|
export type { BaseResponse_Question_ } from "./models/BaseResponse_Question_";
|
||||||
|
export type { BaseResponse_QuestionVO_ } from "./models/BaseResponse_QuestionVO_";
|
||||||
|
export type { BaseResponse_string_ } from "./models/BaseResponse_string_";
|
||||||
|
export type { BaseResponse_User_ } from "./models/BaseResponse_User_";
|
||||||
|
export type { BaseResponse_UserVO_ } from "./models/BaseResponse_UserVO_";
|
||||||
|
export type { DeleteRequest } from "./models/DeleteRequest";
|
||||||
|
export type { JudgeCase } from "./models/JudgeCase";
|
||||||
|
export type { JudgeConfig } from "./models/JudgeConfig";
|
||||||
|
export type { JudgeInfo } from "./models/JudgeInfo";
|
||||||
|
export type { LoginUserVO } from "./models/LoginUserVO";
|
||||||
|
export type { OrderItem } from "./models/OrderItem";
|
||||||
|
export type { Page_PostVO_ } from "./models/Page_PostVO_";
|
||||||
|
export type { Page_Question_ } from "./models/Page_Question_";
|
||||||
|
export type { Page_QuestionSubmitVO_ } from "./models/Page_QuestionSubmitVO_";
|
||||||
|
export type { Page_QuestionVO_ } from "./models/Page_QuestionVO_";
|
||||||
|
export type { Page_User_ } from "./models/Page_User_";
|
||||||
|
export type { Page_UserVO_ } from "./models/Page_UserVO_";
|
||||||
|
export type { PostAddRequest } from "./models/PostAddRequest";
|
||||||
|
export type { PostEditRequest } from "./models/PostEditRequest";
|
||||||
|
export type { PostFavourAddRequest } from "./models/PostFavourAddRequest";
|
||||||
|
export type { PostFavourQueryRequest } from "./models/PostFavourQueryRequest";
|
||||||
|
export type { PostQueryRequest } from "./models/PostQueryRequest";
|
||||||
|
export type { PostThumbAddRequest } from "./models/PostThumbAddRequest";
|
||||||
|
export type { PostUpdateRequest } from "./models/PostUpdateRequest";
|
||||||
|
export type { PostVO } from "./models/PostVO";
|
||||||
|
export type { Question } from "./models/Question";
|
||||||
|
export type { QuestionAddRequest } from "./models/QuestionAddRequest";
|
||||||
|
export type { QuestionEditRequest } from "./models/QuestionEditRequest";
|
||||||
|
export type { QuestionQueryRequest } from "./models/QuestionQueryRequest";
|
||||||
|
export type { QuestionSubmitAddRequest } from "./models/QuestionSubmitAddRequest";
|
||||||
|
export type { QuestionSubmitQueryRequest } from "./models/QuestionSubmitQueryRequest";
|
||||||
|
export type { QuestionSubmitVO } from "./models/QuestionSubmitVO";
|
||||||
|
export type { QuestionUpdateRequest } from "./models/QuestionUpdateRequest";
|
||||||
|
export type { QuestionVO } from "./models/QuestionVO";
|
||||||
|
export type { User } from "./models/User";
|
||||||
|
export type { UserAddRequest } from "./models/UserAddRequest";
|
||||||
|
export type { UserLoginRequest } from "./models/UserLoginRequest";
|
||||||
|
export type { UserQueryRequest } from "./models/UserQueryRequest";
|
||||||
|
export type { UserRegisterRequest } from "./models/UserRegisterRequest";
|
||||||
|
export type { UserUpdateMyRequest } from "./models/UserUpdateMyRequest";
|
||||||
|
export type { UserUpdateRequest } from "./models/UserUpdateRequest";
|
||||||
|
export type { UserVO } from "./models/UserVO";
|
||||||
|
|
||||||
|
export { FileControllerService } from "./services/FileControllerService";
|
||||||
|
export { PostControllerService } from "./services/PostControllerService";
|
||||||
|
export { PostFavourControllerService } from "./services/PostFavourControllerService";
|
||||||
|
export { PostThumbControllerService } from "./services/PostThumbControllerService";
|
||||||
|
export { QuestionControllerService } from "./services/QuestionControllerService";
|
||||||
|
export { UserControllerService } from "./services/UserControllerService";
|
||||||
|
export { WxMpControllerService } from "./services/WxMpControllerService";
|
@ -1,11 +1,12 @@
|
|||||||
/* generated using openapi-typescript-codegen -- do not edit */
|
/* generated using openapi-typescript-codegen -- do no edit */
|
||||||
/* istanbul ignore file */
|
/* istanbul ignore file */
|
||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
import type { LoginUserVO } from './LoginUserVO';
|
import type { LoginUserVO } from './LoginUserVO';
|
||||||
|
|
||||||
export type BaseResponse_LoginUserVO_ = {
|
export type BaseResponse_LoginUserVO_ = {
|
||||||
code?: number;
|
code?: number;
|
||||||
data?: LoginUserVO;
|
data?: LoginUserVO;
|
||||||
message?: string;
|
message?: string;
|
||||||
};
|
};
|
||||||
|
|
@ -1,11 +1,12 @@
|
|||||||
/* generated using openapi-typescript-codegen -- do not edit */
|
/* generated using openapi-typescript-codegen -- do no edit */
|
||||||
/* istanbul ignore file */
|
/* istanbul ignore file */
|
||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
import type { Page_PostVO_ } from './Page_PostVO_';
|
import type { Page_PostVO_ } from './Page_PostVO_';
|
||||||
|
|
||||||
export type BaseResponse_Page_PostVO_ = {
|
export type BaseResponse_Page_PostVO_ = {
|
||||||
code?: number;
|
code?: number;
|
||||||
data?: Page_PostVO_;
|
data?: Page_PostVO_;
|
||||||
message?: string;
|
message?: string;
|
||||||
};
|
};
|
||||||
|
|
@ -1,11 +1,12 @@
|
|||||||
/* generated using openapi-typescript-codegen -- do not edit */
|
/* generated using openapi-typescript-codegen -- do no edit */
|
||||||
/* istanbul ignore file */
|
/* istanbul ignore file */
|
||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
import type { Page_QuestionSubmitVO_ } from './Page_QuestionSubmitVO_';
|
import type { Page_QuestionSubmitVO_ } from './Page_QuestionSubmitVO_';
|
||||||
|
|
||||||
export type BaseResponse_Page_QuestionSubmitVO_ = {
|
export type BaseResponse_Page_QuestionSubmitVO_ = {
|
||||||
code?: number;
|
code?: number;
|
||||||
data?: Page_QuestionSubmitVO_;
|
data?: Page_QuestionSubmitVO_;
|
||||||
message?: string;
|
message?: string;
|
||||||
};
|
};
|
||||||
|
|
@ -1,11 +1,12 @@
|
|||||||
/* generated using openapi-typescript-codegen -- do not edit */
|
/* generated using openapi-typescript-codegen -- do no edit */
|
||||||
/* istanbul ignore file */
|
/* istanbul ignore file */
|
||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
import type { Page_QuestionVO_ } from './Page_QuestionVO_';
|
import type { Page_QuestionVO_ } from './Page_QuestionVO_';
|
||||||
|
|
||||||
export type BaseResponse_Page_QuestionVO_ = {
|
export type BaseResponse_Page_QuestionVO_ = {
|
||||||
code?: number;
|
code?: number;
|
||||||
data?: Page_QuestionVO_;
|
data?: Page_QuestionVO_;
|
||||||
message?: string;
|
message?: string;
|
||||||
};
|
};
|
||||||
|
|
@ -1,11 +1,12 @@
|
|||||||
/* generated using openapi-typescript-codegen -- do not edit */
|
/* generated using openapi-typescript-codegen -- do no edit */
|
||||||
/* istanbul ignore file */
|
/* istanbul ignore file */
|
||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
import type { Page_Question_ } from './Page_Question_';
|
import type { Page_Question_ } from './Page_Question_';
|
||||||
|
|
||||||
export type BaseResponse_Page_Question_ = {
|
export type BaseResponse_Page_Question_ = {
|
||||||
code?: number;
|
code?: number;
|
||||||
data?: Page_Question_;
|
data?: Page_Question_;
|
||||||
message?: string;
|
message?: string;
|
||||||
};
|
};
|
||||||
|
|
@ -1,11 +1,12 @@
|
|||||||
/* generated using openapi-typescript-codegen -- do not edit */
|
/* generated using openapi-typescript-codegen -- do no edit */
|
||||||
/* istanbul ignore file */
|
/* istanbul ignore file */
|
||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
import type { Page_UserVO_ } from './Page_UserVO_';
|
import type { Page_UserVO_ } from './Page_UserVO_';
|
||||||
|
|
||||||
export type BaseResponse_Page_UserVO_ = {
|
export type BaseResponse_Page_UserVO_ = {
|
||||||
code?: number;
|
code?: number;
|
||||||
data?: Page_UserVO_;
|
data?: Page_UserVO_;
|
||||||
message?: string;
|
message?: string;
|
||||||
};
|
};
|
||||||
|
|
@ -1,11 +1,12 @@
|
|||||||
/* generated using openapi-typescript-codegen -- do not edit */
|
/* generated using openapi-typescript-codegen -- do no edit */
|
||||||
/* istanbul ignore file */
|
/* istanbul ignore file */
|
||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
import type { Page_User_ } from './Page_User_';
|
import type { Page_User_ } from './Page_User_';
|
||||||
|
|
||||||
export type BaseResponse_Page_User_ = {
|
export type BaseResponse_Page_User_ = {
|
||||||
code?: number;
|
code?: number;
|
||||||
data?: Page_User_;
|
data?: Page_User_;
|
||||||
message?: string;
|
message?: string;
|
||||||
};
|
};
|
||||||
|
|
@ -1,11 +1,12 @@
|
|||||||
/* generated using openapi-typescript-codegen -- do not edit */
|
/* generated using openapi-typescript-codegen -- do no edit */
|
||||||
/* istanbul ignore file */
|
/* istanbul ignore file */
|
||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
import type { PostVO } from './PostVO';
|
import type { PostVO } from './PostVO';
|
||||||
|
|
||||||
export type BaseResponse_PostVO_ = {
|
export type BaseResponse_PostVO_ = {
|
||||||
code?: number;
|
code?: number;
|
||||||
data?: PostVO;
|
data?: PostVO;
|
||||||
message?: string;
|
message?: string;
|
||||||
};
|
};
|
||||||
|
|
@ -1,11 +1,12 @@
|
|||||||
/* generated using openapi-typescript-codegen -- do not edit */
|
/* generated using openapi-typescript-codegen -- do no edit */
|
||||||
/* istanbul ignore file */
|
/* istanbul ignore file */
|
||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
import type { QuestionVO } from './QuestionVO';
|
import type { QuestionVO } from './QuestionVO';
|
||||||
|
|
||||||
export type BaseResponse_QuestionVO_ = {
|
export type BaseResponse_QuestionVO_ = {
|
||||||
code?: number;
|
code?: number;
|
||||||
data?: QuestionVO;
|
data?: QuestionVO;
|
||||||
message?: string;
|
message?: string;
|
||||||
};
|
};
|
||||||
|
|
@ -1,11 +1,12 @@
|
|||||||
/* generated using openapi-typescript-codegen -- do not edit */
|
/* generated using openapi-typescript-codegen -- do no edit */
|
||||||
/* istanbul ignore file */
|
/* istanbul ignore file */
|
||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
import type { Question } from './Question';
|
import type { Question } from './Question';
|
||||||
|
|
||||||
export type BaseResponse_Question_ = {
|
export type BaseResponse_Question_ = {
|
||||||
code?: number;
|
code?: number;
|
||||||
data?: Question;
|
data?: Question;
|
||||||
message?: string;
|
message?: string;
|
||||||
};
|
};
|
||||||
|
|
@ -1,11 +1,12 @@
|
|||||||
/* generated using openapi-typescript-codegen -- do not edit */
|
/* generated using openapi-typescript-codegen -- do no edit */
|
||||||
/* istanbul ignore file */
|
/* istanbul ignore file */
|
||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
import type { UserVO } from './UserVO';
|
import type { UserVO } from './UserVO';
|
||||||
|
|
||||||
export type BaseResponse_UserVO_ = {
|
export type BaseResponse_UserVO_ = {
|
||||||
code?: number;
|
code?: number;
|
||||||
data?: UserVO;
|
data?: UserVO;
|
||||||
message?: string;
|
message?: string;
|
||||||
};
|
};
|
||||||
|
|
@ -1,11 +1,12 @@
|
|||||||
/* generated using openapi-typescript-codegen -- do not edit */
|
/* generated using openapi-typescript-codegen -- do no edit */
|
||||||
/* istanbul ignore file */
|
/* istanbul ignore file */
|
||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
import type { User } from './User';
|
import type { User } from './User';
|
||||||
|
|
||||||
export type BaseResponse_User_ = {
|
export type BaseResponse_User_ = {
|
||||||
code?: number;
|
code?: number;
|
||||||
data?: User;
|
data?: User;
|
||||||
message?: string;
|
message?: string;
|
||||||
};
|
};
|
||||||
|
|
@ -1,10 +1,10 @@
|
|||||||
/* generated using openapi-typescript-codegen -- do not edit */
|
/* generated using openapi-typescript-codegen -- do no edit */
|
||||||
/* istanbul ignore file */
|
/* istanbul ignore file */
|
||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
export type BaseResponse_boolean_ = {
|
export type BaseResponse_boolean_ = {
|
||||||
code?: number;
|
code?: number;
|
||||||
data?: boolean;
|
data?: boolean;
|
||||||
message?: string;
|
message?: string;
|
||||||
};
|
};
|
||||||
|
|
@ -1,10 +1,10 @@
|
|||||||
/* generated using openapi-typescript-codegen -- do not edit */
|
/* generated using openapi-typescript-codegen -- do no edit */
|
||||||
/* istanbul ignore file */
|
/* istanbul ignore file */
|
||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
export type BaseResponse_int_ = {
|
export type BaseResponse_int_ = {
|
||||||
code?: number;
|
code?: number;
|
||||||
data?: number;
|
data?: number;
|
||||||
message?: string;
|
message?: string;
|
||||||
};
|
};
|
||||||
|
|
@ -1,10 +1,10 @@
|
|||||||
/* generated using openapi-typescript-codegen -- do not edit */
|
/* generated using openapi-typescript-codegen -- do no edit */
|
||||||
/* istanbul ignore file */
|
/* istanbul ignore file */
|
||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
export type BaseResponse_long_ = {
|
export type BaseResponse_long_ = {
|
||||||
code?: number;
|
code?: number;
|
||||||
data?: number;
|
data?: number;
|
||||||
message?: string;
|
message?: string;
|
||||||
};
|
};
|
||||||
|
|
@ -1,10 +1,10 @@
|
|||||||
/* generated using openapi-typescript-codegen -- do not edit */
|
/* generated using openapi-typescript-codegen -- do no edit */
|
||||||
/* istanbul ignore file */
|
/* istanbul ignore file */
|
||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
export type BaseResponse_string_ = {
|
export type BaseResponse_string_ = {
|
||||||
code?: number;
|
code?: number;
|
||||||
data?: string;
|
data?: string;
|
||||||
message?: string;
|
message?: string;
|
||||||
};
|
};
|
||||||
|
|
@ -1,8 +1,8 @@
|
|||||||
/* generated using openapi-typescript-codegen -- do not edit */
|
/* generated using openapi-typescript-codegen -- do no edit */
|
||||||
/* istanbul ignore file */
|
/* istanbul ignore file */
|
||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
export type DeleteRequest = {
|
export type DeleteRequest = {
|
||||||
id?: number;
|
id?: number;
|
||||||
};
|
};
|
||||||
|
|
@ -1,9 +1,9 @@
|
|||||||
/* generated using openapi-typescript-codegen -- do not edit */
|
/* generated using openapi-typescript-codegen -- do no edit */
|
||||||
/* istanbul ignore file */
|
/* istanbul ignore file */
|
||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
export type JudgeCase = {
|
export type JudgeCase = {
|
||||||
input?: string;
|
input?: string;
|
||||||
output?: string;
|
output?: string;
|
||||||
};
|
};
|
||||||
|
|
@ -1,10 +1,10 @@
|
|||||||
/* generated using openapi-typescript-codegen -- do not edit */
|
/* generated using openapi-typescript-codegen -- do no edit */
|
||||||
/* istanbul ignore file */
|
/* istanbul ignore file */
|
||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
export type JudgeConfig = {
|
export type JudgeConfig = {
|
||||||
memoryLimit?: number;
|
memoryLimit?: number;
|
||||||
stackLimit?: number;
|
stackLimit?: number;
|
||||||
timeLimit?: number;
|
timeLimit?: number;
|
||||||
};
|
};
|
||||||
|
|
@ -1,10 +1,10 @@
|
|||||||
/* generated using openapi-typescript-codegen -- do not edit */
|
/* generated using openapi-typescript-codegen -- do no edit */
|
||||||
/* istanbul ignore file */
|
/* istanbul ignore file */
|
||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
export type JudgeInfo = {
|
export type JudgeInfo = {
|
||||||
memory?: number;
|
memory?: number;
|
||||||
message?: string;
|
message?: string;
|
||||||
time?: number;
|
time?: number;
|
||||||
};
|
};
|
||||||
|
|
@ -1,7 +1,8 @@
|
|||||||
/* generated using openapi-typescript-codegen -- do not edit */
|
/* generated using openapi-typescript-codegen -- do no edit */
|
||||||
/* istanbul ignore file */
|
/* istanbul ignore file */
|
||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
export type LoginUserVO = {
|
export type LoginUserVO = {
|
||||||
createTime?: string;
|
createTime?: string;
|
||||||
id?: number;
|
id?: number;
|
||||||
@ -11,4 +12,3 @@ export type LoginUserVO = {
|
|||||||
userProfile?: string;
|
userProfile?: string;
|
||||||
userRole?: string;
|
userRole?: string;
|
||||||
};
|
};
|
||||||
|
|
@ -1,9 +1,9 @@
|
|||||||
/* generated using openapi-typescript-codegen -- do not edit */
|
/* generated using openapi-typescript-codegen -- do no edit */
|
||||||
/* istanbul ignore file */
|
/* istanbul ignore file */
|
||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
export type OrderItem = {
|
export type OrderItem = {
|
||||||
asc?: boolean;
|
asc?: boolean;
|
||||||
column?: string;
|
column?: string;
|
||||||
};
|
};
|
||||||
|
|
@ -1,9 +1,11 @@
|
|||||||
/* generated using openapi-typescript-codegen -- do not edit */
|
/* generated using openapi-typescript-codegen -- do no edit */
|
||||||
/* istanbul ignore file */
|
/* istanbul ignore file */
|
||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
import type { OrderItem } from './OrderItem';
|
import type { OrderItem } from './OrderItem';
|
||||||
import type { PostVO } from './PostVO';
|
import type { PostVO } from './PostVO';
|
||||||
|
|
||||||
export type Page_PostVO_ = {
|
export type Page_PostVO_ = {
|
||||||
countId?: string;
|
countId?: string;
|
||||||
current?: number;
|
current?: number;
|
||||||
@ -16,4 +18,3 @@ export type Page_PostVO_ = {
|
|||||||
size?: number;
|
size?: number;
|
||||||
total?: number;
|
total?: number;
|
||||||
};
|
};
|
||||||
|
|
@ -1,9 +1,11 @@
|
|||||||
/* generated using openapi-typescript-codegen -- do not edit */
|
/* generated using openapi-typescript-codegen -- do no edit */
|
||||||
/* istanbul ignore file */
|
/* istanbul ignore file */
|
||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
import type { OrderItem } from './OrderItem';
|
import type { OrderItem } from './OrderItem';
|
||||||
import type { QuestionSubmitVO } from './QuestionSubmitVO';
|
import type { QuestionSubmitVO } from './QuestionSubmitVO';
|
||||||
|
|
||||||
export type Page_QuestionSubmitVO_ = {
|
export type Page_QuestionSubmitVO_ = {
|
||||||
countId?: string;
|
countId?: string;
|
||||||
current?: number;
|
current?: number;
|
||||||
@ -16,4 +18,3 @@ export type Page_QuestionSubmitVO_ = {
|
|||||||
size?: number;
|
size?: number;
|
||||||
total?: number;
|
total?: number;
|
||||||
};
|
};
|
||||||
|
|
@ -1,9 +1,11 @@
|
|||||||
/* generated using openapi-typescript-codegen -- do not edit */
|
/* generated using openapi-typescript-codegen -- do no edit */
|
||||||
/* istanbul ignore file */
|
/* istanbul ignore file */
|
||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
import type { OrderItem } from './OrderItem';
|
import type { OrderItem } from './OrderItem';
|
||||||
import type { QuestionVO } from './QuestionVO';
|
import type { QuestionVO } from './QuestionVO';
|
||||||
|
|
||||||
export type Page_QuestionVO_ = {
|
export type Page_QuestionVO_ = {
|
||||||
countId?: string;
|
countId?: string;
|
||||||
current?: number;
|
current?: number;
|
||||||
@ -16,4 +18,3 @@ export type Page_QuestionVO_ = {
|
|||||||
size?: number;
|
size?: number;
|
||||||
total?: number;
|
total?: number;
|
||||||
};
|
};
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user