const accountInfo = wx.getAccountInfoSync();// 获取当前帐号信息
if(!accountInfo.miniProgram.envVersion){
  console.error("获取运行环境失败!");
}
const baseApi = {
  // 开发版
  develop: "https://tprint.refinecolor.com",
  //develop: "https://tprint.colorpark.cn",
  // 体验版
  trial: "https://tprint.refinecolor.com",
  // trial: "https://tprint.colorpark.cn",
  // 正式版
  release: "https://tprint.colorpark.cn",
};
const baseURL = baseApi[accountInfo.miniProgram.envVersion]
//console.log(accountInfo.miniProgram.envVersion)
//console.log(baseURL)
const Env = {
	getDevBaseURL: () => baseURL,
	getBaseURL: () => baseURL,
	getmachineId: () => '100055', //线上100086 //测试 422001' //100086
	getappcode: () => 'lite',
	getmalltext: () => "色彩公园Lite",
	getAppID: () => "wx1c777ee874c39b0b",
	getcompany: () => "深圳市瑞丰彩科技有限公司"
}
export default Env