import fetch from '@/utils/fetch'

/**
 * 配送管理
 * @param {} param0 
 */

// 系统设置详情
export const detailSystem = () => fetch('/admin/system/detail_system', {}, 'POST')

// 系统设置详情
export const updateSystem = ({
  system_logo,
  system_version,
  system_message,
  system_phone
}) => fetch('/admin/system/update_system', {
  system_logo,
  system_version,
  system_message,
  system_phone
}, 'POST')

// 意见列表
export const listAdvice = ({
  page,
  page_len,
  advice_man,
  advice_content
}) => fetch('/admin/system/list_advice', {
  page,
  page_len,
  advice_man,
  advice_content
}, 'POST')

// 文件上传
export const upload = '/admin/system/upload'
