|
@@ -1,7 +1,7 @@
|
|
|
/* tslint:disable */
|
|
/* tslint:disable */
|
|
|
/* eslint-disable */
|
|
/* eslint-disable */
|
|
|
/**
|
|
/**
|
|
|
- * 所有接口
|
|
|
|
|
|
|
+ * Admin.NET 通用权限开发平台
|
|
|
* 让 .NET 开发更简单、更通用、更流行。整合最新技术,模块插件式开发,前后端分离,开箱即用。<br/><u><b><font color='FF0000'> 👮不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动!任何基于本项目二次开发而产生的一切法律纠纷和责任,我们不承担任何责任!</font></b></u>
|
|
* 让 .NET 开发更简单、更通用、更流行。整合最新技术,模块插件式开发,前后端分离,开箱即用。<br/><u><b><font color='FF0000'> 👮不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动!任何基于本项目二次开发而产生的一切法律纠纷和责任,我们不承担任何责任!</font></b></u>
|
|
|
*
|
|
*
|
|
|
* OpenAPI spec version: 1.0.0
|
|
* OpenAPI spec version: 1.0.0
|
|
@@ -11,6 +11,7 @@
|
|
|
* https://github.com/swagger-api/swagger-codegen.git
|
|
* https://github.com/swagger-api/swagger-codegen.git
|
|
|
* Do not edit the class manually.
|
|
* Do not edit the class manually.
|
|
|
*/
|
|
*/
|
|
|
|
|
+
|
|
|
import globalAxios, { AxiosResponse, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
import globalAxios, { AxiosResponse, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
|
import { Configuration } from '../configuration';
|
|
import { Configuration } from '../configuration';
|
|
|
// Some imports not used depending on template conditions
|
|
// Some imports not used depending on template conditions
|
|
@@ -55,6 +56,13 @@ export const SysCodeGenApiAxiosParamCreator = function (configuration?: Configur
|
|
|
const localVarQueryParameter = {} as any;
|
|
const localVarQueryParameter = {} as any;
|
|
|
|
|
|
|
|
// authentication Bearer required
|
|
// 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;
|
|
|
|
|
+ }
|
|
|
|
|
|
|
|
localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';
|
|
localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';
|
|
|
|
|
|
|
@@ -95,6 +103,13 @@ export const SysCodeGenApiAxiosParamCreator = function (configuration?: Configur
|
|
|
const localVarQueryParameter = {} as any;
|
|
const localVarQueryParameter = {} as any;
|
|
|
|
|
|
|
|
// authentication Bearer required
|
|
// 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);
|
|
const query = new URLSearchParams(localVarUrlObj.search);
|
|
|
for (const key in localVarQueryParameter) {
|
|
for (const key in localVarQueryParameter) {
|
|
@@ -143,6 +158,13 @@ export const SysCodeGenApiAxiosParamCreator = function (configuration?: Configur
|
|
|
const localVarQueryParameter = {} as any;
|
|
const localVarQueryParameter = {} as any;
|
|
|
|
|
|
|
|
// authentication Bearer required
|
|
// 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);
|
|
const query = new URLSearchParams(localVarUrlObj.search);
|
|
|
for (const key in localVarQueryParameter) {
|
|
for (const key in localVarQueryParameter) {
|
|
@@ -179,6 +201,13 @@ export const SysCodeGenApiAxiosParamCreator = function (configuration?: Configur
|
|
|
const localVarQueryParameter = {} as any;
|
|
const localVarQueryParameter = {} as any;
|
|
|
|
|
|
|
|
// authentication Bearer required
|
|
// 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);
|
|
const query = new URLSearchParams(localVarUrlObj.search);
|
|
|
for (const key in localVarQueryParameter) {
|
|
for (const key in localVarQueryParameter) {
|
|
@@ -216,6 +245,13 @@ export const SysCodeGenApiAxiosParamCreator = function (configuration?: Configur
|
|
|
const localVarQueryParameter = {} as any;
|
|
const localVarQueryParameter = {} as any;
|
|
|
|
|
|
|
|
// authentication Bearer required
|
|
// 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;
|
|
|
|
|
+ }
|
|
|
|
|
|
|
|
localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';
|
|
localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';
|
|
|
|
|
|
|
@@ -261,6 +297,13 @@ export const SysCodeGenApiAxiosParamCreator = function (configuration?: Configur
|
|
|
const localVarQueryParameter = {} as any;
|
|
const localVarQueryParameter = {} as any;
|
|
|
|
|
|
|
|
// authentication Bearer required
|
|
// 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;
|
|
|
|
|
+ }
|
|
|
|
|
|
|
|
if (id !== undefined) {
|
|
if (id !== undefined) {
|
|
|
localVarQueryParameter['Id'] = id;
|
|
localVarQueryParameter['Id'] = id;
|
|
@@ -302,6 +345,13 @@ export const SysCodeGenApiAxiosParamCreator = function (configuration?: Configur
|
|
|
const localVarQueryParameter = {} as any;
|
|
const localVarQueryParameter = {} as any;
|
|
|
|
|
|
|
|
// authentication Bearer required
|
|
// 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;
|
|
|
|
|
+ }
|
|
|
|
|
|
|
|
localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';
|
|
localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';
|
|
|
|
|
|
|
@@ -343,6 +393,13 @@ export const SysCodeGenApiAxiosParamCreator = function (configuration?: Configur
|
|
|
const localVarQueryParameter = {} as any;
|
|
const localVarQueryParameter = {} as any;
|
|
|
|
|
|
|
|
// authentication Bearer required
|
|
// 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;
|
|
|
|
|
+ }
|
|
|
|
|
|
|
|
localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';
|
|
localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';
|
|
|
|
|
|
|
@@ -384,6 +441,13 @@ export const SysCodeGenApiAxiosParamCreator = function (configuration?: Configur
|
|
|
const localVarQueryParameter = {} as any;
|
|
const localVarQueryParameter = {} as any;
|
|
|
|
|
|
|
|
// authentication Bearer required
|
|
// 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;
|
|
|
|
|
+ }
|
|
|
|
|
|
|
|
localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';
|
|
localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';
|
|
|
|
|
|
|
@@ -430,6 +494,13 @@ export const SysCodeGenApiAxiosParamCreator = function (configuration?: Configur
|
|
|
const localVarQueryParameter = {} as any;
|
|
const localVarQueryParameter = {} as any;
|
|
|
|
|
|
|
|
// authentication Bearer required
|
|
// 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);
|
|
const query = new URLSearchParams(localVarUrlObj.search);
|
|
|
for (const key in localVarQueryParameter) {
|
|
for (const key in localVarQueryParameter) {
|
|
@@ -467,6 +538,13 @@ export const SysCodeGenApiAxiosParamCreator = function (configuration?: Configur
|
|
|
const localVarQueryParameter = {} as any;
|
|
const localVarQueryParameter = {} as any;
|
|
|
|
|
|
|
|
// authentication Bearer required
|
|
// 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;
|
|
|
|
|
+ }
|
|
|
|
|
|
|
|
localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';
|
|
localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';
|
|
|
|
|
|