var params = require('./params.js'); var api_web_url = params.api_web_url; var up_img_url = params.up_img_url; const gps_url = params.gps_url; var map_bms_url = params.map_url; var config = { APP_VERSION: '4.1.2024121301', APP_VERSION_DESC: '优化小程序', QQ_MAP_KEY: 'Q7DBZ-BQH65-MEMIO-Q7LEF-S43Z3-G6B34', // 腾讯地图api key QINIU_SITE: 'https://qiniu.bms16.com/', // 拉取图片地址 QINIU_UPLOAD_SITE: 'https://up-z2.qiniup.com/', // 七牛上传地址 API_QINIU_UP_IMG_TOKEN: up_img_url + '?r=qiniu/token-v2', // 获取上传token API_GET_OPEN_ID: api_web_url + '?r=user/get-open-id', API_OPENID_LOGIN: api_web_url + '?r=user/slogin', //opendid一键登录 API_CABINET_INFO: api_web_url + '?r=flk/cabinet/info', API_CAR_DEVICE_LIST: api_web_url + '?r=flk/car/device-list', // 机柜换电 API_FLK_CABINET_CHANGE_BATTERY: api_web_url +'?r=flk/cabinet/exchange-battery', //套餐列表 API_FLK_EXCHANGE_PACKAGE_PACKAGE_LIST: api_web_url +'?r=flk/exchange-package/package-list', //套餐购买 API_FLK_EXCHANGE_PACKAGE_PAY: api_web_url +'?r=flk/exchange-package/pay', // 套餐购买订单列表 API_FLK_EXCHANGE_PACKAGE_ORDER_LIST: api_web_url +'?r=flk/exchange-package/order-list', }; module.exports = config;