/*
 * @Author: 吴文洁
 * @Date: 2020-07-23 17:11:49
 * @LastEditors: zhangleyuan
 * @LastEditTime: 2021-03-04 17:16:01
 * @Description: 
 * @Copyright: 杭州杰竞科技有限公司 版权所有
 */ 
const DEFAULT_SIZE_UNIT = 1000 * 1000; // 将B转换成M

const SupportFileType = [
  "application/msword",
  "application/vnd.ms-powerpoint",
  "application/mspowerpoint",
  "application/pdf",
  "image/jpeg",
  "audio/mpeg",
  "audio/mp4",
  "video/mp4",
  "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
  "application/vnd.openxmlformats-officedocument.presentationml.presentation",
  "audio/mp3",
  "application/wps-office.pdf",
  "audio/x-mpeg",
  "image/png",
];

const suffixType = {
  ppt: 'application/vnd.ms-powerpoint',
  pptx: 'application/vnd.openxmlformats-officedocument.presentationml.presentation',
  doc: 'application/msword',
  docx: 'application/msword',
  xlsx: 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',
  xls: 'application/vnd.ms-excel',
  pdf: 'application/pdf',
  jpg: 'image/jpeg',
  jpeg: 'image/jpeg',
  png: 'image/png',
  mp3: 'audio/mp3',
  mp4: 'audio/mp4',
}
export {DEFAULT_SIZE_UNIT,SupportFileType,suffixType}
// export default {
//   DEFAULT_SIZE_UNIT,
//   SupportFileType,
//   suffixType,
// };
