Skip to content

Commit 0c78500

Browse files
committed
重置操作的 api 重命名
1 parent 11aaf4c commit 0c78500

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/api/modules/author.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export const operateBatchZsxqWhiteApi = (params: object | undefined) => {
2727
return http.post<Login.ResAuthButtons>(`${PORT1}/zsxq/whitelist/batchOperate`, params);
2828
};
2929

30-
// 删除操作
30+
// 重置操作
3131
export const resetAuthorWhiteApi = (authorId: number) => {
3232
return http.get<Login.ResAuthButtons>(`${PORT1}/zsxq/whitelist/reset`, { authorId });
3333
};

src/views/author/whitelist/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { Avatar, Button, Drawer, Form, Input, InputRef, message, Modal, Space, T
77
import type { ColumnsType,ColumnType } from "antd/es/table";
88
import { FilterConfirmProps } from "antd/es/table/interface";
99

10-
import { delAuthorWhiteApi, getAuthorWhiteListApi, updateAuthorWhiteApi } from "@/api/modules/author";
10+
import { getAuthorWhiteListApi, resetAuthorWhiteApi, updateAuthorWhiteApi } from "@/api/modules/author";
1111
import { ContentInterWrap, ContentWrap } from "@/components/common-wrap";
1212
import { MapItem } from "@/typings/common";
1313
import AuthorSelect from "@/views/column/setting/components/authorselect";

0 commit comments

Comments
 (0)