feat: 消息迁移

This commit is contained in:
dylanmay
2025-11-04 14:31:32 +08:00
parent cb9fc7ad3f
commit c2b0a91ffc
41 changed files with 3524 additions and 25 deletions

View File

@@ -5,12 +5,12 @@ import { requestClient } from '#/api/request';
export namespace MpAccountApi {
/** 公众号账号信息 */
export interface Account {
id?: number;
id: number;
name: string;
account: string;
appId: string;
appSecret: string;
token: string;
account?: string;
appId?: string;
appSecret?: string;
token?: string;
aesKey?: string;
qrCodeUrl?: string;
remark?: string;
@@ -23,6 +23,10 @@ export namespace MpAccountApi {
}
}
// 重新导出类型,方便使用
export type Account = MpAccountApi.Account;
export type AccountSimple = MpAccountApi.AccountSimple;
/** 查询公众号账号列表 */
export function getAccountPage(params: PageParam) {
return requestClient.get<PageResult<MpAccountApi.Account>>(