// config.js
const type = 'prod'

const config = {
	local: {
		baseUrl: 'http://127.0.0.1:8002/recycle-admin',
	},
	dev: {
		baseUrl: 'http://h5.xzaiyp.top/recycle-admin',
	},
	prod: {
		baseUrl: 'https://www.ddmhs.top/recycle-admin',
	},
	prod2: {
		baseUrl: 'https://wwwv2.ddmhs.top/recycle-admin-v2',
	},
}

const defaultConfig = {
	mapKey: 'XMBBZ-BCPCV-SXPPQ-5Y7MY-PHZXK-YFFVU',
	aliOss: {
		url: 'https://oss.ddmhs.top/',
		config: {
			region: 'oss-cn-hangzhou',
			accessKeyId: 'LTAI5tDXgH5a42GbUZroVvio',
			accessKeySecret: 'TK7jQ0KeXnFBHNxpEHzT83Spp81tl5',
			bucket: 'ossddmhs',
			endpoint: 'oss-cn-hangzhou.aliyuncs.com',
		}
	},
	mchId: '1701841654',
}

import utils from './utils/utils.js'

export default utils.deepMergeObject(defaultConfig, config[type])