release.js 855 Bytes
import request from '@/plugin/axios'
/**
 * 发布箱List
 */
export function ReleasesList(data) {
  return request({
    url: '/hlwj/articleDO/publishBox',
    method: 'get',
    params:{
      currentPage:data.pagenum,
      pageSize:data.pagesize
    }
  })
}
// 单个/批量刪除发布箱的文章(逻辑删除)
export function DraftsDeleteByIds(data) {
  return request({
    url: '/hlwj/articleDO/deletePublishArticleByIds',
    method: 'delete',
    params:{
      ids:data
    }
  })
}
// 栏目接口管理
export function articleClassifyList() {
  return request({
    url: '/cms/classify/articleClassifyList',
    method: 'get',
  })
}
/**
 * 发布箱启用禁用
 */
 
export function publishingBoxEnabled(data) {
  return request({
    url: '/hlwj/articleDO/enableArticle?ids='+data.idList+'&enable='+data.enable,
    method: 'post'
  })
}