feat: tag

This commit is contained in:
xingyu4j
2025-05-30 21:24:24 +08:00
parent 1074b90c6f
commit 5fa6ca78e2
5 changed files with 328 additions and 24 deletions

View File

@@ -33,6 +33,13 @@ export function getAccount(id: number) {
return requestClient.get<MpAccountApi.Account>(`/mp/account/get?id=${id}`);
}
/** 查询公众号账号列表 */
export function getSimpleAccountList() {
return requestClient.get<MpAccountApi.Account[]>(
'/mp/account/list-all-simple',
);
}
/** 新增公众号账号 */
export function createAccount(data: MpAccountApi.Account) {
return requestClient.post('/mp/account/create', data);

View File

@@ -6,8 +6,9 @@ export namespace MpTagApi {
/** 标签信息 */
export interface Tag {
id?: number;
name: string;
accountId: number;
name: string;
count?: number;
createTime?: Date;
}