Vue3 重构:REVIEW 公众号标签

This commit is contained in:
YunaiV
2023-03-25 11:20:35 +08:00
parent c0d5a5663c
commit 2abc7eca67
5 changed files with 74 additions and 114 deletions

View File

@ -1,5 +1,10 @@
import request from '@/config/axios'
export interface AccountVO {
id?: number
name: string
}
// 创建公众号账号
export const createAccount = async (data) => {
return await request.post({ url: '/mp/account/create', data })
@ -26,7 +31,7 @@ export const getAccountPage = async (query) => {
}
// 获取公众号账号精简信息列表
export const getSimpleAccounts = async () => {
export const getSimpleAccountList = async () => {
return request.get({ url: '/mp/account/list-all-simple' })
}