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.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
|
|
|
import { defHttp } from '@/utils/http/axios'
|
|
|
|
|
|
|
|
// 获得公众号素材分页
|
|
|
|
export function getFreePublishPage(params) {
|
|
|
|
return defHttp.get({ url: '/mp/free-publish/page', params })
|
|
|
|
}
|
|
|
|
|
|
|
|
// 删除公众号素材
|
|
|
|
export function deleteFreePublish(accountId, articleId) {
|
|
|
|
return defHttp.delete({ url: '/mp/free-publish/delete?accountId=' + accountId + '&&articleId=' + articleId })
|
|
|
|
}
|
|
|
|
|
|
|
|
// 发布公众号素材
|
|
|
|
export function submitFreePublish(accountId, mediaId) {
|
|
|
|
return defHttp.post({ url: '/mp/free-publish/submit?accountId=' + accountId + '&&mediaId=' + mediaId })
|
|
|
|
}
|