Newer
Older
KaiFengWechat / src / api / publicApi.js
@鲁yixuan 鲁yixuan on 12 Jul 397 bytes update
'use strict';
import request from '@/utils/request.js';
// 全局公共api,不属于其他模块

// 文件图片上传
export function fileUpload(data) {
  return request({
    url: '/system/upload',
    method: 'post',
    data: data,
    timeout: 60 * 1000,
  });
}
// 文件删除
export function fileDelete(ids) {
  return request({
    url: '/system/' + ids,
    method: 'delete',
  });
}