change doc & mock

This commit is contained in:
Dawn1Ocean
2024-05-09 14:54:21 +08:00
parent 8f062b0e8c
commit 44ce17d43d
4 changed files with 129 additions and 23 deletions
-1
View File
@@ -208,7 +208,6 @@ const Login: React.FC = () => {
</ProFormCheckbox>
</div>
<div style={{ marginBottom: '2vh' }}>
{' '}
<Button
type="default"
block
-13
View File
@@ -15,11 +15,6 @@ declare namespace API {
currentAuthority?: string;
};
type PageParams = {
current?: number;
pageSize?: number;
};
type LoginParams = {
username?: string;
password?: string;
@@ -27,14 +22,6 @@ declare namespace API {
type?: string;
};
type ErrorResponse = {
/** 业务约定的错误码 */
errorCode: string;
/** 业务上的错误信息 */
errorMessage?: string;
/** 业务上的请求是否成功 */
success?: boolean;
};
type LogList = {
pageIndex: number;
pageCount: number;