爱简收旧衣按件回收前端代码仓库
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
696 B

2 months ago
2 months ago
4 weeks ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
  1. // config.js
  2. const type = 'prod'
  3. const config = {
  4. local: {
  5. baseUrl: 'http://127.0.0.1:8002',
  6. },
  7. dev: {
  8. baseUrl: 'http://h5.xzaiyp.top',
  9. },
  10. prod: {
  11. baseUrl: 'https://www.ddmhs.top',
  12. }
  13. }
  14. const defaultConfig = {
  15. mapKey: 'XMBBZ-BCPCV-SXPPQ-5Y7MY-PHZXK-YFFVU',
  16. aliOss: {
  17. url: 'https://oss.ddmhs.top/',
  18. config: {
  19. region: 'oss-cn-hangzhou',
  20. accessKeyId: 'LTAI5tDXgH5a42GbUZroVvio',
  21. accessKeySecret: 'TK7jQ0KeXnFBHNxpEHzT83Spp81tl5',
  22. bucket: 'ossddmhs',
  23. endpoint: 'oss-cn-hangzhou.aliyuncs.com',
  24. }
  25. },
  26. mchId: '1701841654',
  27. }
  28. import utils from './utils/utils.js'
  29. export default utils.deepMergeObject(defaultConfig, config[type])