|
|
@@ -26,49 +26,6 @@ import { PageLogInput } from '../models';
|
|
|
*/
|
|
|
export const SysLogDiffApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
|
return {
|
|
|
- /**
|
|
|
- *
|
|
|
- * @summary 清空差异日志 🔖
|
|
|
- * @param {*} [options] Override http request option.
|
|
|
- * @throws {RequiredError}
|
|
|
- */
|
|
|
- apiSysLogDiffClearPost: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
|
- const localVarPath = `/api/sysLogDiff/clear`;
|
|
|
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
|
- const localVarUrlObj = new URL(localVarPath, 'https://example.com');
|
|
|
- let baseOptions;
|
|
|
- if (configuration) {
|
|
|
- baseOptions = configuration.baseOptions;
|
|
|
- }
|
|
|
- const localVarRequestOptions :AxiosRequestConfig = { method: 'POST', ...baseOptions, ...options};
|
|
|
- const localVarHeaderParameter = {} as any;
|
|
|
- const localVarQueryParameter = {} as any;
|
|
|
-
|
|
|
- // authentication Bearer required
|
|
|
- // http bearer authentication required
|
|
|
- if (configuration && configuration.accessToken) {
|
|
|
- const accessToken = typeof configuration.accessToken === 'function'
|
|
|
- ? await configuration.accessToken()
|
|
|
- : await configuration.accessToken;
|
|
|
- localVarHeaderParameter["Authorization"] = "Bearer " + accessToken;
|
|
|
- }
|
|
|
-
|
|
|
- const query = new URLSearchParams(localVarUrlObj.search);
|
|
|
- for (const key in localVarQueryParameter) {
|
|
|
- query.set(key, localVarQueryParameter[key]);
|
|
|
- }
|
|
|
- for (const key in options.params) {
|
|
|
- query.set(key, options.params[key]);
|
|
|
- }
|
|
|
- localVarUrlObj.search = (new URLSearchParams(query)).toString();
|
|
|
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
|
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
|
-
|
|
|
- return {
|
|
|
- url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,
|
|
|
- options: localVarRequestOptions,
|
|
|
- };
|
|
|
- },
|
|
|
/**
|
|
|
*
|
|
|
* @summary 获取差异日志详情 🔖
|
|
|
@@ -175,19 +132,6 @@ export const SysLogDiffApiAxiosParamCreator = function (configuration?: Configur
|
|
|
*/
|
|
|
export const SysLogDiffApiFp = function(configuration?: Configuration) {
|
|
|
return {
|
|
|
- /**
|
|
|
- *
|
|
|
- * @summary 清空差异日志 🔖
|
|
|
- * @param {*} [options] Override http request option.
|
|
|
- * @throws {RequiredError}
|
|
|
- */
|
|
|
- async apiSysLogDiffClearPost(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<void>>> {
|
|
|
- const localVarAxiosArgs = await SysLogDiffApiAxiosParamCreator(configuration).apiSysLogDiffClearPost(options);
|
|
|
- return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
|
|
|
- const axiosRequestArgs :AxiosRequestConfig = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};
|
|
|
- return axios.request(axiosRequestArgs);
|
|
|
- };
|
|
|
- },
|
|
|
/**
|
|
|
*
|
|
|
* @summary 获取差异日志详情 🔖
|
|
|
@@ -225,15 +169,6 @@ export const SysLogDiffApiFp = function(configuration?: Configuration) {
|
|
|
*/
|
|
|
export const SysLogDiffApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
|
return {
|
|
|
- /**
|
|
|
- *
|
|
|
- * @summary 清空差异日志 🔖
|
|
|
- * @param {*} [options] Override http request option.
|
|
|
- * @throws {RequiredError}
|
|
|
- */
|
|
|
- async apiSysLogDiffClearPost(options?: AxiosRequestConfig): Promise<AxiosResponse<void>> {
|
|
|
- return SysLogDiffApiFp(configuration).apiSysLogDiffClearPost(options).then((request) => request(axios, basePath));
|
|
|
- },
|
|
|
/**
|
|
|
*
|
|
|
* @summary 获取差异日志详情 🔖
|
|
|
@@ -264,16 +199,6 @@ export const SysLogDiffApiFactory = function (configuration?: Configuration, bas
|
|
|
* @extends {BaseAPI}
|
|
|
*/
|
|
|
export class SysLogDiffApi extends BaseAPI {
|
|
|
- /**
|
|
|
- *
|
|
|
- * @summary 清空差异日志 🔖
|
|
|
- * @param {*} [options] Override http request option.
|
|
|
- * @throws {RequiredError}
|
|
|
- * @memberof SysLogDiffApi
|
|
|
- */
|
|
|
- public async apiSysLogDiffClearPost(options?: AxiosRequestConfig) : Promise<AxiosResponse<void>> {
|
|
|
- return SysLogDiffApiFp(this.configuration).apiSysLogDiffClearPost(options).then((request) => request(this.axios, this.basePath));
|
|
|
- }
|
|
|
/**
|
|
|
*
|
|
|
* @summary 获取差异日志详情 🔖
|