通用评论

123456789101112131415161718
  1. export const ERROR_DEFAULT = "出错了!";
  2. export const LIMIT = 10; // 默认 limit
  3. export const OSS_ENDPOINT = "oss-cn-beijing.aliyuncs.com";
  4. export const OSS_BUCKET = "links-comment";
  5. export const DRIVER_LICENSE_PATH = "/comment";
  6. export const OSS_LINK = "http://links-comment.oss-cn-beijing.aliyuncs.com";
  7. export const MAX_UPLOAD_NUMBER = 4;
  8. export const REGEXP = /\[.+?\]/g;
  9. export const AVATAR = "";
  10. export const IMAGE_SPLIT = "IMAGE_SPLIT";