inleft
2022-08-29 c3aa826406d52957d6f98d0ecd4b77413d5ce908
src/config/myConstant.js
@@ -1,10 +1,34 @@
//常量
const myConstant = {
   fileTypeMarkDown: 1,
   fileTypeHtml: 2,
   fileTypeVideo: 3,
   fileTypeMp3: 4,
   fileTypeShort: 5,
   fileTypeCover: 9,
   uploadFileSizeLimit: 2 * 1024 * 1024,
   uploadVideoSizeLimit: 200 * 1024 * 1024,
   visitorDataKey: "visitorData.inleft.com",
   userName: "inleft",
   img404: "this.onerror='';this.src=\"http://t.inleft.com/share/media_photo/idea_beijing.jpg\"",
   defaultBG:"http://t.inleft.com/share/media_photo/background.jpg",
   defaultBGVideo:"http://t.inleft.com/share/media_photo/idea_beijing.jpg",
   fileType: {
      fileTypeMarkDown_1: 1,
      fileTypeHtml_2: 2,
      fileTypeVideo_3: 3,
      fileTypeMp3_4: 4,
      fileTypePictures_5: 5,
      fileTypeTalking_9: 9,
   },
   activeKeyType: {
      type_1: "moment",
      type_2: "flash",
      type_3: "store",
   },
   bucketName: {
      bucket_article: "article",
      bucket_video: "mp4",
      bucket_mp3: "mp3",
      bucket_cover: "cover",
      bucket_picture: "picture",
   }
}
export default myConstant;