text: import request from '@/utils/request'
  
  export function getPictureList(params) {
    return request({
      url: process.env.ADMIN_API + '/picture/getList',
      method: 'post',
      data: params
    })
  }
  
  export function addPicture(params) {
    return request({
      url: process.env.ADMIN_API + '/picture/add',
      method: 'post',
      data: params
    })
  }
  
  export function editPicture(params) {
    return request({
      url: process.env.ADMIN_API + '/picture/edit',
      method: 'post',
      data: params
    })
  }
  
  export function deletePicture(params) {
    return request({
      url: process.env.ADMIN_API + '/picture/delete',
      method: 'post',
      data: params
    })
  }
  
  export function setCover(params) {
    return request({
      url: process.env.ADMIN_API + '/picture/setCover',
      method: 'post',
      data: params
    })
  }
  
  /**
   * 提交URL到 hanying-picture
   * @param params
   * @returns {*}
   */
  export function uploadPicsByUrl(params) {
    return request({
      url: process.env.PICTURE_API + '/file/uploadPicsByUrl',
      method: 'post',
      data: params
    })
  }
  