feat: 消息迁移
This commit is contained in:
@@ -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>>(
|
||||
|
||||
Reference in New Issue
Block a user