修改功能
deploy-userbase-front / build-and-deploy (push) Successful in 4m40s

This commit is contained in:
chenxing
2026-08-17 16:41:08 +08:00
parent 85619785f6
commit b96bbc9a62
5 changed files with 279 additions and 111 deletions
+39 -3
View File
@@ -2659,6 +2659,42 @@ declare global {
): Alova2Method<null, 'SysGroup.sortChildren', Config>;
};
SysUser: {
/**
* ---
*
* [GET] getGroups
*
* **path:** /api/sysuser/Groups/{userId}
*
* ---
*
* **Path Parameters**
* ```ts
* type PathParameters = {
* // userId
* userId: number
* }
* ```
*
* ---
*
* **Response**
* ```ts
* type Response = number[]
* ```
*/
getGroups<
Config extends Alova2MethodConfig<number[]> & {
pathParams: {
/**
* userId
*/
userId: number;
};
}
>(
config: Config
): Alova2Method<number[], 'SysUser.getGroups', Config>;
/**
* ---
*
@@ -2693,16 +2729,16 @@ declare global {
*
* **Response**
* ```ts
* type Response = null
* type Response = number
* ```
*/
add<
Config extends Alova2MethodConfig<null> & {
Config extends Alova2MethodConfig<number> & {
data: SysUserRequest;
}
>(
config: Config
): Alova2Method<null, 'SysUser.add', Config>;
): Alova2Method<number, 'SysUser.add', Config>;
/**
* ---
*