|
|
@@ -61,6 +61,13 @@ export const SysUserApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
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;
|
|
|
+ }
|
|
|
|
|
|
localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';
|
|
|
|
|
|
@@ -101,6 +108,13 @@ export const SysUserApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
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) {
|
|
|
@@ -138,6 +152,13 @@ export const SysUserApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
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;
|
|
|
+ }
|
|
|
|
|
|
localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';
|
|
|
|
|
|
@@ -179,6 +200,13 @@ export const SysUserApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
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;
|
|
|
+ }
|
|
|
|
|
|
localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';
|
|
|
|
|
|
@@ -220,6 +248,13 @@ export const SysUserApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
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;
|
|
|
+ }
|
|
|
|
|
|
localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';
|
|
|
|
|
|
@@ -261,6 +296,13 @@ export const SysUserApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
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;
|
|
|
+ }
|
|
|
|
|
|
localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';
|
|
|
|
|
|
@@ -350,6 +392,13 @@ export const SysUserApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
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) {
|
|
|
@@ -392,6 +441,13 @@ export const SysUserApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
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) {
|
|
|
@@ -429,6 +485,13 @@ export const SysUserApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
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;
|
|
|
+ }
|
|
|
|
|
|
localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';
|
|
|
|
|
|
@@ -470,6 +533,13 @@ export const SysUserApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
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;
|
|
|
+ }
|
|
|
|
|
|
localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';
|
|
|
|
|
|
@@ -493,7 +563,7 @@ export const SysUserApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
},
|
|
|
/**
|
|
|
*
|
|
|
- * @summary 更新用户语言 🔖
|
|
|
+ * @summary 更新当前用户语言 🔖
|
|
|
* @param {string} langCode
|
|
|
* @param {*} [options] Override http request option.
|
|
|
* @throws {RequiredError}
|
|
|
@@ -516,6 +586,13 @@ export const SysUserApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
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) {
|
|
|
@@ -553,6 +630,13 @@ export const SysUserApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
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;
|
|
|
+ }
|
|
|
|
|
|
localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';
|
|
|
|
|
|
@@ -594,6 +678,13 @@ export const SysUserApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
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;
|
|
|
+ }
|
|
|
|
|
|
localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';
|
|
|
|
|
|
@@ -635,6 +726,13 @@ export const SysUserApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
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;
|
|
|
+ }
|
|
|
|
|
|
localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';
|
|
|
|
|
|
@@ -819,7 +917,7 @@ export const SysUserApiFp = function(configuration?: Configuration) {
|
|
|
},
|
|
|
/**
|
|
|
*
|
|
|
- * @summary 更新用户语言 🔖
|
|
|
+ * @summary 更新当前用户语言 🔖
|
|
|
* @param {string} langCode
|
|
|
* @param {*} [options] Override http request option.
|
|
|
* @throws {RequiredError}
|
|
|
@@ -992,7 +1090,7 @@ export const SysUserApiFactory = function (configuration?: Configuration, basePa
|
|
|
},
|
|
|
/**
|
|
|
*
|
|
|
- * @summary 更新用户语言 🔖
|
|
|
+ * @summary 更新当前用户语言 🔖
|
|
|
* @param {string} langCode
|
|
|
* @param {*} [options] Override http request option.
|
|
|
* @throws {RequiredError}
|
|
|
@@ -1161,7 +1259,7 @@ export class SysUserApi extends BaseAPI {
|
|
|
}
|
|
|
/**
|
|
|
*
|
|
|
- * @summary 更新用户语言 🔖
|
|
|
+ * @summary 更新当前用户语言 🔖
|
|
|
* @param {string} langCode
|
|
|
* @param {*} [options] Override http request option.
|
|
|
* @throws {RequiredError}
|