feat: tag
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -6,8 +6,9 @@ export namespace MpTagApi {
|
||||
/** 标签信息 */
|
||||
export interface Tag {
|
||||
id?: number;
|
||||
name: string;
|
||||
accountId: number;
|
||||
name: string;
|
||||
count?: number;
|
||||
createTime?: Date;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user