2022-05-23 05:05:59 +00:00
|
|
|
export declare const UserApiDefinition: {
|
|
|
|
/**
|
|
|
|
* 获取用户
|
|
|
|
*/
|
|
|
|
getAllUsers: {
|
2022-05-23 08:20:56 +00:00
|
|
|
method: "get";
|
2022-05-23 05:05:59 +00:00
|
|
|
server: "/";
|
|
|
|
client: () => string;
|
|
|
|
};
|
|
|
|
/**
|
|
|
|
* 注册
|
|
|
|
*/
|
|
|
|
register: {
|
2022-05-23 08:20:56 +00:00
|
|
|
method: "post";
|
2022-05-23 05:05:59 +00:00
|
|
|
server: "register";
|
|
|
|
client: () => string;
|
|
|
|
};
|
|
|
|
/**
|
|
|
|
* 登录
|
|
|
|
*/
|
|
|
|
login: {
|
2022-05-23 08:20:56 +00:00
|
|
|
method: "post";
|
2022-05-23 05:05:59 +00:00
|
|
|
server: "login";
|
|
|
|
client: () => string;
|
|
|
|
};
|
|
|
|
/**
|
|
|
|
* 登出
|
|
|
|
*/
|
|
|
|
logout: {
|
2022-05-23 08:20:56 +00:00
|
|
|
method: "post";
|
2022-05-23 05:05:59 +00:00
|
|
|
server: "logout";
|
|
|
|
client: () => string;
|
|
|
|
};
|
|
|
|
/**
|
|
|
|
* 更新
|
|
|
|
*/
|
|
|
|
update: {
|
2022-05-23 08:20:56 +00:00
|
|
|
method: "patch";
|
2022-05-23 05:05:59 +00:00
|
|
|
server: "update";
|
|
|
|
client: () => string;
|
|
|
|
};
|
|
|
|
};
|