|
@@ -192,12 +192,12 @@ export const SysAuthApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
},
|
|
},
|
|
|
/**
|
|
/**
|
|
|
*
|
|
*
|
|
|
- * @summary 是否启用二次验证
|
|
|
|
|
|
|
+ * @summary 登录配置
|
|
|
* @param {*} [options] Override http request option.
|
|
* @param {*} [options] Override http request option.
|
|
|
* @throws {RequiredError}
|
|
* @throws {RequiredError}
|
|
|
*/
|
|
*/
|
|
|
- secondVerFlagGet: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
|
|
|
- const localVarPath = `/secondVerFlag`;
|
|
|
|
|
|
|
+ loginConfigGet: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
|
|
|
+ const localVarPath = `/loginConfig`;
|
|
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
|
const localVarUrlObj = new URL(localVarPath, 'https://example.com');
|
|
const localVarUrlObj = new URL(localVarPath, 'https://example.com');
|
|
|
let baseOptions;
|
|
let baseOptions;
|
|
@@ -413,12 +413,12 @@ export const SysAuthApiFp = function(configuration?: Configuration) {
|
|
|
},
|
|
},
|
|
|
/**
|
|
/**
|
|
|
*
|
|
*
|
|
|
- * @summary 是否启用二次验证
|
|
|
|
|
|
|
+ * @summary 登录配置
|
|
|
* @param {*} [options] Override http request option.
|
|
* @param {*} [options] Override http request option.
|
|
|
* @throws {RequiredError}
|
|
* @throws {RequiredError}
|
|
|
*/
|
|
*/
|
|
|
- async secondVerFlagGet(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<AdminResultBoolean>>> {
|
|
|
|
|
- const localVarAxiosArgs = await SysAuthApiAxiosParamCreator(configuration).secondVerFlagGet(options);
|
|
|
|
|
|
|
+ async loginConfigGet(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<AdminResultBoolean>>> {
|
|
|
|
|
+ const localVarAxiosArgs = await SysAuthApiAxiosParamCreator(configuration).loginConfigGet(options);
|
|
|
return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
|
|
return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
|
|
|
const axiosRequestArgs :AxiosRequestConfig = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};
|
|
const axiosRequestArgs :AxiosRequestConfig = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};
|
|
|
return axios.request(axiosRequestArgs);
|
|
return axios.request(axiosRequestArgs);
|
|
@@ -514,12 +514,12 @@ export const SysAuthApiFactory = function (configuration?: Configuration, basePa
|
|
|
},
|
|
},
|
|
|
/**
|
|
/**
|
|
|
*
|
|
*
|
|
|
- * @summary 是否启用二次验证
|
|
|
|
|
|
|
+ * @summary 登录配置
|
|
|
* @param {*} [options] Override http request option.
|
|
* @param {*} [options] Override http request option.
|
|
|
* @throws {RequiredError}
|
|
* @throws {RequiredError}
|
|
|
*/
|
|
*/
|
|
|
- async secondVerFlagGet(options?: AxiosRequestConfig): Promise<AxiosResponse<AdminResultBoolean>> {
|
|
|
|
|
- return SysAuthApiFp(configuration).secondVerFlagGet(options).then((request) => request(axios, basePath));
|
|
|
|
|
|
|
+ async loginConfigGet(options?: AxiosRequestConfig): Promise<AxiosResponse<AdminResultBoolean>> {
|
|
|
|
|
+ return SysAuthApiFp(configuration).loginConfigGet(options).then((request) => request(axios, basePath));
|
|
|
},
|
|
},
|
|
|
/**
|
|
/**
|
|
|
*
|
|
*
|
|
@@ -604,13 +604,13 @@ export class SysAuthApi extends BaseAPI {
|
|
|
}
|
|
}
|
|
|
/**
|
|
/**
|
|
|
*
|
|
*
|
|
|
- * @summary 是否启用二次验证
|
|
|
|
|
|
|
+ * @summary 登录配置
|
|
|
* @param {*} [options] Override http request option.
|
|
* @param {*} [options] Override http request option.
|
|
|
* @throws {RequiredError}
|
|
* @throws {RequiredError}
|
|
|
* @memberof SysAuthApi
|
|
* @memberof SysAuthApi
|
|
|
*/
|
|
*/
|
|
|
- public async secondVerFlagGet(options?: AxiosRequestConfig) : Promise<AxiosResponse<AdminResultBoolean>> {
|
|
|
|
|
- return SysAuthApiFp(this.configuration).secondVerFlagGet(options).then((request) => request(this.axios, this.basePath));
|
|
|
|
|
|
|
+ public async loginConfigGet(options?: AxiosRequestConfig) : Promise<AxiosResponse<AdminResultBoolean>> {
|
|
|
|
|
+ return SysAuthApiFp(this.configuration).loginConfigGet(options).then((request) => request(this.axios, this.basePath));
|
|
|
}
|
|
}
|
|
|
/**
|
|
/**
|
|
|
*
|
|
*
|