Archived
forked from admin/userbase
This commit is contained in:
Vendored
+39
-3
@@ -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>;
|
||||
/**
|
||||
* ---
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user