1
0

ossconfig.json 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. {
  2. //文件存储供应商
  3. "Provider": "Minio",
  4. "OSSConfigs": [
  5. //Minio
  6. {
  7. "Provider": "Minio",
  8. "Endpoint": "127.0.0.1:9006",
  9. "Region": "",
  10. "AccessKey": "minio",
  11. "SecretKey": "minio",
  12. "IsEnableHttps": false,
  13. "IsEnableCache": true,
  14. "BucketName": "admin",
  15. "Url": "", //文件外链
  16. "Enable": true,
  17. "Md5": false
  18. },
  19. //阿里云
  20. {
  21. "Provider": "Aliyun",
  22. "Endpoint": "oss-cn-shenzhen.aliyuncs.com",
  23. "Region": "",
  24. "AccessKey": "",
  25. "SecretKey": "",
  26. "IsEnableHttps": true,
  27. "IsEnableCache": true,
  28. "BucketName": "admin",
  29. "Url": "",
  30. "Enable": false,
  31. "Md5": false
  32. },
  33. //腾讯云
  34. {
  35. "Provider": "QCloud",
  36. "Endpoint": "", //AppId
  37. "Region": "",
  38. "AccessKey": "",
  39. "SecretKey": "",
  40. "IsEnableHttps": true,
  41. "IsEnableCache": true,
  42. "BucketName": "admin",
  43. "Url": "",
  44. "Enable": false,
  45. "Md5": false
  46. },
  47. //七牛
  48. {
  49. "Provider": "Qiniu",
  50. "Endpoint": "",
  51. "Region": "",
  52. "AccessKey": "",
  53. "SecretKey": "",
  54. "IsEnableHttps": true,
  55. "IsEnableCache": true,
  56. "BucketName": "admin",
  57. "Url": "",
  58. "Enable": false,
  59. "Md5": false
  60. },
  61. //华为云
  62. {
  63. "Provider": "HuaweiCloud",
  64. "Endpoint": "",
  65. "Region": "",
  66. "AccessKey": "",
  67. "SecretKey": "",
  68. "IsEnableHttps": true,
  69. "IsEnableCache": true,
  70. "BucketName": "admin",
  71. "Url": "",
  72. "Enable": false,
  73. "Md5": false
  74. }
  75. ]
  76. }