fix: mp tag

This commit is contained in:
xingyu4j
2025-05-30 22:56:26 +08:00
parent d900aa1d71
commit f105df0457
4 changed files with 57 additions and 35 deletions

View File

@@ -16,6 +16,11 @@ export namespace MpAccountApi {
remark?: string;
createTime?: Date;
}
export interface AccountSimple {
id: number;
name: string;
}
}
/** 查询公众号账号列表 */
@@ -35,7 +40,7 @@ export function getAccount(id: number) {
/** 查询公众号账号列表 */
export function getSimpleAccountList() {
return requestClient.get<MpAccountApi.Account[]>(
return requestClient.get<MpAccountApi.AccountSimple[]>(
'/mp/account/list-all-simple',
);
}