耀实惠小程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

40 lines
953 B

  1. import {
  2. API_URL
  3. } from '@/env'
  4. // 接口地址
  5. export const API_BASE_URL = API_URL;
  6. // 需要登录的路由
  7. export const LOGINS_LIST = [
  8. '/pages/my/information/index',
  9. '/pages/my/address/address',
  10. '/pages/my/integral/index',
  11. '/pages/my/consumption_gold/index',
  12. '/pagesB/homeGridList/topUp/index',
  13. '/pagesA/my_other_list/help_center/index',
  14. '/pagesB/homeGridList/topUp/detale/detale',
  15. '/pages/my/consumption_gold/index',
  16. '/pagesC/member/index',
  17. '/pages/shoppingCart/shoppingCart',
  18. '/pagesA/my_other_list/promotion/index',
  19. '/pagesC/goodsInfo/goodsInfo'
  20. ];
  21. // 图片上传地址
  22. export const UPLOAD_IMG = API_BASE_URL + 'api/info/upload'
  23. // tabber页面
  24. export const TABBAR_PAGE = [
  25. 'pages/home/home',
  26. 'pages/sort/sort',
  27. 'pages/shoppingCart/shoppingCart',
  28. 'pages/my/my',
  29. ];
  30. // token传递的header名称
  31. export const TOKEN_HEADER_NAME = 'X-Access-Token';
  32. // 地图key
  33. export const MAP_KEY = 'AP6BZ-O4GCF-CX7JL-NAR4Z-TSSA6-YOBMU';