config.js 533 Bytes
//域名要在小程序的管理平台配置好,如果出现调用时报错,无效的域名,可在微信开发工具左边点项目-》配置信息-》看一下配置的域名【request合法域名】有没有刷新下来,没有的话就点下面的刷新

// let host = 'https://proxy.shunzhi.net/'; //正式
let host = 'https://proxy.shunzhi.net/card'; //正式

let file = 'https://wxsxh.myjxt.com:51314/file-center/'; //图片上传

let config = {
  host,
  file,
};
//对外把对象config返回
module.exports = config