config_gyq.js 926 B

12345678910111213141516171819202122232425
  1. var params = require('./params.js');
  2. var api_web_url = params.api_web_url;
  3. var up_img_url = params.up_img_url;
  4. const gps_url = params.gps_url;
  5. var map_bms_url = params.map_url;
  6. var config = {
  7. APP_VERSION: '4.1.2024121301',
  8. APP_VERSION_DESC: '优化小程序',
  9. QQ_MAP_KEY: 'Q7DBZ-BQH65-MEMIO-Q7LEF-S43Z3-G6B34',
  10. // 腾讯地图api key
  11. QINIU_SITE: 'https://qiniu.bms16.com/',
  12. // 拉取图片地址
  13. QINIU_UPLOAD_SITE: 'https://up-z2.qiniup.com/',
  14. // 七牛上传地址
  15. API_QINIU_UP_IMG_TOKEN: up_img_url + '?r=qiniu/token-v2',
  16. // 获取上传token
  17. API_GET_OPEN_ID: api_web_url + '?r=user/get-open-id',
  18. API_OPENID_LOGIN: api_web_url + '?r=user/slogin', //opendid一键登录
  19. API_CABINET_INFO: api_web_url + '?r=flk/cabinet/info',
  20. API_CAR_DEVICE_LIST: api_web_url + '?r=flk/car/device-list',
  21. // 机柜换电
  22. API_FLK_CABINET_CHANGE_BATTERY: api_web_url +'?r=flk/cabinet/change-battery'
  23. };
  24. module.exports = config;