api路径修复

This commit is contained in:
chenxing
2026-08-19 12:01:26 +08:00
parent eb0ab76c83
commit 35529fc671
7 changed files with 123 additions and 890 deletions
+109 -109
View File
@@ -481,33 +481,47 @@ export interface RedirectView {
attributeNames?: object;
majorVersion?: number;
contextPath?: string;
minorVersion?: number;
initParameterNames?: object;
sessionTimeout?: number;
/**
* @deprecated
*/
servletNames?: object;
minorVersion?: number;
initParameterNames?: object;
sessionTimeout?: number;
serverInfo?: string;
/**
* @deprecated
*/
servlets?: object;
requestCharacterEncoding?: string;
jspConfigDescriptor?: {
taglibs?: Array<{
taglibLocation?: string;
taglibURI?: string;
}>;
jspPropertyGroups?: Array<{
buffer?: string;
defaultContentType?: string;
urlPatterns?: string[];
includePreludes?: string[];
trimDirectiveWhitespaces?: string;
scriptingInvalid?: string;
errorOnUndeclaredNamespace?: string;
includeCodas?: string[];
elIgnored?: string;
pageEncoding?: string;
isXml?: string;
deferredSyntaxAllowedAsLiteral?: string;
}>;
};
effectiveMajorVersion?: number;
servletContextName?: string;
virtualServerName?: string;
filterRegistrations?: Record<
string,
{
urlPatternMappings?: string[];
servletNameMappings?: string[];
urlPatternMappings?: string[];
name?: string;
className?: string;
initParameters?: Record<string, string>;
}
>;
servletContextName?: string;
sessionTrackingModes?: ('COOKIE' | 'URL' | 'SSL')[];
effectiveMinorVersion?: number;
defaultSessionTrackingModes?: ('COOKIE' | 'URL' | 'SSL')[];
servletRegistrations?: Record<
string,
{
@@ -518,8 +532,11 @@ export interface RedirectView {
initParameters?: Record<string, string>;
}
>;
effectiveMajorVersion?: number;
virtualServerName?: string;
effectiveMinorVersion?: number;
sessionTrackingModes?: ('COOKIE' | 'URL' | 'SSL')[];
effectiveSessionTrackingModes?: ('COOKIE' | 'URL' | 'SSL')[];
defaultSessionTrackingModes?: ('COOKIE' | 'URL' | 'SSL')[];
responseCharacterEncoding?: string;
sessionCookieConfig?: {
name?: string;
path?: string;
@@ -529,28 +546,11 @@ export interface RedirectView {
maxAge?: number;
httpOnly?: boolean;
};
jspConfigDescriptor?: {
taglibs?: Array<{
taglibURI?: string;
taglibLocation?: string;
}>;
jspPropertyGroups?: Array<{
buffer?: string;
urlPatterns?: string[];
defaultContentType?: string;
elIgnored?: string;
pageEncoding?: string;
isXml?: string;
includeCodas?: string[];
trimDirectiveWhitespaces?: string;
includePreludes?: string[];
scriptingInvalid?: string;
errorOnUndeclaredNamespace?: string;
deferredSyntaxAllowedAsLiteral?: string;
}>;
};
responseCharacterEncoding?: string;
effectiveSessionTrackingModes?: ('COOKIE' | 'URL' | 'SSL')[];
serverInfo?: string;
/**
* @deprecated
*/
servlets?: object;
};
contentType?: string;
requestContextAttribute?: string;
@@ -1412,7 +1412,7 @@ declare global {
* type Response = null
* ```
*/
edit_1<
sysGroupEdit<
Config extends Alova2MethodConfig<null> & {
pathParams: {
id: number;
@@ -1421,7 +1421,7 @@ declare global {
}
>(
config: Config
): Alova2Method<null, 'SysGroup.edit_1', Config>;
): Alova2Method<null, 'SysGroup.sysGroupEdit', Config>;
/**
* ---
*
@@ -1445,7 +1445,7 @@ declare global {
* type Response = null
* ```
*/
delete_<
sysGroupRemove<
Config extends Alova2MethodConfig<null> & {
pathParams: {
id: number;
@@ -1453,7 +1453,7 @@ declare global {
}
>(
config: Config
): Alova2Method<null, 'SysGroup.delete_', Config>;
): Alova2Method<null, 'SysGroup.sysGroupRemove', Config>;
/**
* ---
*
@@ -1517,13 +1517,13 @@ declare global {
* type Response = null
* ```
*/
add_1<
sysGroupAdd<
Config extends Alova2MethodConfig<null> & {
data: SysGroupRequest;
}
>(
config: Config
): Alova2Method<null, 'SysGroup.add_1', Config>;
): Alova2Method<null, 'SysGroup.sysGroupAdd', Config>;
/**
* ---
*
@@ -1559,7 +1559,7 @@ declare global {
* }>
* ```
*/
list_1<
sysGroupList<
Config extends Alova2MethodConfig<SysGroupVo[]> & {
params: {
query: SysGroupQuery;
@@ -1567,7 +1567,7 @@ declare global {
}
>(
config: Config
): Alova2Method<SysGroupVo[], 'SysGroup.list_1', Config>;
): Alova2Method<SysGroupVo[], 'SysGroup.sysGroupList', Config>;
/**
* ---
*
@@ -2550,37 +2550,59 @@ declare global {
* attributeNames?: object
* majorVersion?: number
* contextPath?: string
* // [deprecated]
* servletNames?: object
* minorVersion?: number
* initParameterNames?: object
* sessionTimeout?: number
* serverInfo?: string
* // [deprecated]
* servlets?: object
* servletNames?: object
* requestCharacterEncoding?: string
* jspConfigDescriptor?: {
* // [items] start
* // [items] end
* taglibs?: Array<{
* taglibLocation?: string
* taglibURI?: string
* }>
* // [items] start
* // [items] end
* jspPropertyGroups?: Array<{
* buffer?: string
* defaultContentType?: string
* // [items] start
* // [items] end
* urlPatterns?: string[]
* // [items] start
* // [items] end
* includePreludes?: string[]
* trimDirectiveWhitespaces?: string
* scriptingInvalid?: string
* errorOnUndeclaredNamespace?: string
* // [items] start
* // [items] end
* includeCodas?: string[]
* elIgnored?: string
* pageEncoding?: string
* isXml?: string
* deferredSyntaxAllowedAsLiteral?: string
* }>
* }
* effectiveMajorVersion?: number
* servletContextName?: string
* virtualServerName?: string
* filterRegistrations?: Record<
* string,
* {
* // [items] start
* // [items] end
* urlPatternMappings?: string[]
* servletNameMappings?: string[]
* // [items] start
* // [items] end
* servletNameMappings?: string[]
* urlPatternMappings?: string[]
* name?: string
* className?: string
* initParameters?: Record<string, string>
* }
* >
* servletContextName?: string
* // [items] start
* // [items] end
* sessionTrackingModes?: ('COOKIE' | 'URL' | 'SSL')[]
* effectiveMinorVersion?: number
* // [items] start
* // [items] end
* defaultSessionTrackingModes?: ('COOKIE' | 'URL' | 'SSL')[]
* servletRegistrations?: Record<
* string,
* {
@@ -2593,8 +2615,17 @@ declare global {
* initParameters?: Record<string, string>
* }
* >
* effectiveMajorVersion?: number
* virtualServerName?: string
* effectiveMinorVersion?: number
* // [items] start
* // [items] end
* sessionTrackingModes?: ('COOKIE' | 'URL' | 'SSL')[]
* // [items] start
* // [items] end
* effectiveSessionTrackingModes?: ('COOKIE' | 'URL' | 'SSL')[]
* // [items] start
* // [items] end
* defaultSessionTrackingModes?: ('COOKIE' | 'URL' | 'SSL')[]
* responseCharacterEncoding?: string
* sessionCookieConfig?: {
* name?: string
* path?: string
@@ -2604,40 +2635,9 @@ declare global {
* maxAge?: number
* httpOnly?: boolean
* }
* jspConfigDescriptor?: {
* // [items] start
* // [items] end
* taglibs?: Array<{
* taglibURI?: string
* taglibLocation?: string
* }>
* // [items] start
* // [items] end
* jspPropertyGroups?: Array<{
* buffer?: string
* // [items] start
* // [items] end
* urlPatterns?: string[]
* defaultContentType?: string
* elIgnored?: string
* pageEncoding?: string
* isXml?: string
* // [items] start
* // [items] end
* includeCodas?: string[]
* trimDirectiveWhitespaces?: string
* // [items] start
* // [items] end
* includePreludes?: string[]
* scriptingInvalid?: string
* errorOnUndeclaredNamespace?: string
* deferredSyntaxAllowedAsLiteral?: string
* }>
* }
* responseCharacterEncoding?: string
* // [items] start
* // [items] end
* effectiveSessionTrackingModes?: ('COOKIE' | 'URL' | 'SSL')[]
* serverInfo?: string
* // [deprecated]
* servlets?: object
* }
* contentType?: string
* requestContextAttribute?: string
@@ -4196,7 +4196,7 @@ declare global {
* }
* ```
*/
edit_2<
edit_1<
Config extends Alova2MethodConfig<BoaUser> & {
pathParams: {
id: number;
@@ -4205,7 +4205,7 @@ declare global {
}
>(
config: Config
): Alova2Method<BoaUser, 'User.edit_2', Config>;
): Alova2Method<BoaUser, 'User.edit_1', Config>;
/**
* ---
*
@@ -4230,7 +4230,7 @@ declare global {
* type Response = null
* ```
*/
delete_1<
delete_<
Config extends Alova2MethodConfig<null> & {
pathParams: {
id: number;
@@ -4239,7 +4239,7 @@ declare global {
}
>(
config: Config
): Alova2Method<null, 'User.delete_1', Config>;
): Alova2Method<null, 'User.delete_', Config>;
/**
* ---
*
@@ -4473,13 +4473,13 @@ declare global {
* }
* ```
*/
add_2<
add_1<
Config extends Alova2MethodConfig<BoaUser> & {
data: SysUserRequest;
}
>(
config: Config
): Alova2Method<BoaUser, 'User.add_2', Config>;
): Alova2Method<BoaUser, 'User.add_1', Config>;
/**
* ---
*
@@ -4889,7 +4889,7 @@ declare global {
* }
* ```
*/
edit_3<
edit_2<
Config extends Alova2MethodConfig<BoaGroup> & {
pathParams: {
id: number;
@@ -4898,7 +4898,7 @@ declare global {
}
>(
config: Config
): Alova2Method<BoaGroup, 'Group.edit_3', Config>;
): Alova2Method<BoaGroup, 'Group.edit_2', Config>;
/**
* ---
*
@@ -4922,7 +4922,7 @@ declare global {
* type Response = null
* ```
*/
delete_2<
delete_1<
Config extends Alova2MethodConfig<null> & {
pathParams: {
id: number;
@@ -4930,7 +4930,7 @@ declare global {
}
>(
config: Config
): Alova2Method<null, 'Group.delete_2', Config>;
): Alova2Method<null, 'Group.delete_1', Config>;
/**
* ---
*
@@ -5014,13 +5014,13 @@ declare global {
* }
* ```
*/
add_3<
add_2<
Config extends Alova2MethodConfig<BoaGroup> & {
data: SysGroupRequest;
}
>(
config: Config
): Alova2Method<BoaGroup, 'Group.add_3', Config>;
): Alova2Method<BoaGroup, 'Group.add_2', Config>;
/**
* ---
*
@@ -5080,7 +5080,7 @@ declare global {
* }>
* ```
*/
list_2<
list_1<
Config extends Alova2MethodConfig<BoaGroup[]> & {
params: {
ids: string;
@@ -5089,7 +5089,7 @@ declare global {
}
>(
config: Config
): Alova2Method<BoaGroup[], 'Group.list_2', Config>;
): Alova2Method<BoaGroup[], 'Group.list_1', Config>;
/**
* ---
*