config_gyq.js 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  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/exchange-battery',
  23. //套餐列表
  24. API_FLK_EXCHANGE_PACKAGE_PACKAGE_LIST: api_web_url +'?r=flk/exchange-package/package-list',
  25. //套餐购买
  26. API_FLK_EXCHANGE_PACKAGE_PAY: api_web_url +'?r=flk/exchange-package/pay',
  27. // 套餐购买订单列表
  28. API_FLK_EXCHANGE_PACKAGE_ORDER_LIST: api_web_url +'?r=flk/exchange-package/order-list',
  29. // 车辆共享列表
  30. API_FLK_CAR_SHARE_LIST: api_web_url +'?r=flk/car/share-list',
  31. //检查邮箱是否存在
  32. API_ACCOUNT_CHECK_SHARE_ACCOUNT_EXIST: api_web_url +'?r=flk/account/check-account-exist',
  33. //添加用车人
  34. API_FLK_CAR_ADD_SHARE_USER: api_web_url +'?r=flk/car/add-share-user',
  35. //删除用车人
  36. API_FLK_CAR_REMOVE_SHARE_USER: api_web_url +'?r=flk/car/remove-share-user',
  37. //修改用车人权限:
  38. API_FLK_CAR_EDIT_SHARE_USER: api_web_url +'?r=flk/car/edit-share-user',
  39. //共享用车人详情
  40. API_FLK_CAR_EDIT_SHARE_INFO: api_web_url +'?r=flk/car/share-info',
  41. //修改用户昵称、头像
  42. API_USER_MODIFY_USER_INFO: api_web_url +'?r=user/modify-user-info',
  43. //用户信息,
  44. API_USER_INFO: api_web_url +'?r=user/info',
  45. //机柜换电状态查询: ,
  46. API_FLK_CABINET_EXCHANGE_STATUS: api_web_url +'?r=flk/cabinet/exchange-status',
  47. //附近机柜列表: flk/cabinet/near-list
  48. API_FLK_CABINET_NEAR_LIST: api_web_url +'?r=flk/cabinet/near-list',
  49. //忘记密码
  50. API_FLK_CABINET_RESET_PASSWORD: api_web_url +'?r=flk/account/reset-password',
  51. //取消订单
  52. API_FLK_ORDER_CANCEL_PAY: api_web_url +'?r=flk/order/cancel-pay',
  53. //激活车辆(绑定设备):
  54. API_CAR_ASSIGNMENT: api_web_url +'?r=flk/car/assignment',
  55. //门店设置:
  56. API_FLK_INDEX_SHOP_SETTING: api_web_url +'?r=flk/index/shop-setting',
  57. //申请还车: :
  58. API_FLK_CAR_RETURN_CAR: api_web_url +'?r=flk/car/return-car',
  59. //换电记录:
  60. API_FLK_CABINET_EXCHANGE_ORDER: api_web_url +'?r=flk/cabinet/exchange-order',
  61. //续租:
  62. API_FLK_ORDER_RENEW: api_web_url +'?r=flk/order/renew',
  63. //车辆仪表盘
  64. API_FLK_CAR_DASHBOARD: api_web_url +'?r=flk/car/dashboard',
  65. //购买下单
  66. API_FLK_ORDER_RESERVE: api_web_url +'?r=flk/order/reserve',
  67. };
  68. module.exports = config;