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(baseURL)
const Env = {
	getDevBaseURL: () => baseURL,
	getBaseURL: () => baseURL,
	getmachineId: () => '7122001',  //7122001 //100160 
	getappcode: () => 'lite',
	getmalltext: () => "色彩公园烘焙",
	getAppID: () => "wx1c777ee874c39b0b",
	getcompany: () => "深圳市瑞丰彩科技有限公司",
	//跳转--色彩小程序
	getappId: () => "wx55b5b6d95c648041",
	//getenvVersion: () => "trial",
	getenvVersion: () => "release",
}
export default Env