You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
508 B

2 years ago
import { defHttp } from '@/utils/http/axios'
// 获得公众号菜单列表
export function getMenuList(accountId) {
2 years ago
return defHttp.get({ url: '/mp/menu/list?accountId=' + accountId })
}
// 保存公众号菜单
export function saveMenu(accountId, menus) {
2 years ago
return defHttp.post({
url: '/mp/menu/save',
data: {
accountId,
menus
}
})
}
// 删除公众号菜单
export function deleteMenu(accountId) {
2 years ago
return defHttp.delete({ url: '/mp/menu/delete?accountId=' + accountId })
}