海南旅游项目 前端仓库
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.

71 lines
2.8 KiB

4 years ago
4 years ago
4 years ago
4 years ago
  1. // appId: 正式 null | 测试 wxb35ef055a4dd8ad4
  2. export const DEV = "dev"; // dev 测试 | prod 正式
  3. export const VERSION = '1.0.0'; // 版本号
  4. export const DEVURL = 'https://hainan.lanzulive.com'; // 测试服请求地址
  5. // export const DEVURL = 'http://hainan.com'; // 测试服请求地址
  6. export const PRODURL = ''; // 正式服请求地址
  7. export const API_WXLOGIN = '/api/login'; //登录
  8. export const API_INDEX = '/api/index'; //首页
  9. export const API_FAVOURITE = '/api/agent_product/guess'; //猜你喜欢
  10. export const API_CHANNEL = '/api/channel/list'; //全部频道列表
  11. export const API_MYCHANNEL = '/api/user_channel/list'; //我的频道列表
  12. export const API_EDITCHANNEL = '/api/user_channel/update'; //编辑频道
  13. export const API_FINDARTICLE = '/api/article/list'; //发现文章列表
  14. export const API_FINDARTICLEDETAILS = '/api/article/show'; //发现文章详情
  15. export const API_ADVICELIST = '/api/agent_product/list'; //推荐列表
  16. export const API_CATEGORYLIST = '/api/category/list'; //推荐分类
  17. export const API_ADVICEDETAILS = '/api/agent_product/show'; //推荐列表详情
  18. export const API_PRODUCTLIST = '/api/channel/product'; //频道产品列表
  19. export const API_SPECIALLIST = '/api/special/show'; //专题列表
  20. export const API_HOTLIST = '/api/agent_product/hot'; //热门爆款推荐
  21. export const API_NOTICEDETAILS = '/api/notice/show'; //公告详情
  22. export const API_REGISTERAGREE = '/api/agent_info/reg_protocol'; //注册协议
  23. export const API_BUYAGREE = '/api/agent_info/buy_protocol'; //购买协议
  24. export const API_CONFIRMDETAILS = '/api/order/price'; //确认购买商品详情
  25. export const API_CREATEORDER = '/api/order/create'; //创建订单并支付
  26. export const API_ORDERPAY = '/api/order/pay'; //订单立即支付
  27. export const API_CONFIRM_CODE = '/api/verification/verify'; //核销订单
  28. export const API_MESSAGELIST = '/api/message/list'; //消息列表
  29. export const API_MESSAGEDETAILS = '/api/message/show'; //消息详情
  30. export const API_CHECKNEWS = '/api/message/read'; //消息标记为已读
  31. export const API_RECOMMOND = '/api/agent_product/recommend'; //我的推荐列表
  32. //用户信息
  33. export const API_GETUSERINFO = '/api/user/profile'; //设置用户消息
  34. export const API_SETUSDRINFO = '/api/user/info'; //我的页面获取用户信息
  35. //订单
  36. export const API_ORDERLIST = '/api/order/list'; //订单列表
  37. export const API_ORDER_DETAILS = '/api/order/show'; //订单详情
  38. export const API_APPLYREFUND = '/api/order/refund'; //申请退款
  39. export const API_UPPLOAD_APPLY = '/api/upload/image'//退款申请图片上传
  40. //系统
  41. export const API_ABOUTUS = '/api/agent_info/about'; //关于我们
  42. export const API_COLLECT_LIST = '/api/fav/list'; //收藏列表
  43. export const API_ADDCOLLECT = '/api/fav/create'; //添加收藏
  44. export const API_DELCOLLECT = '/api/fav/delete'; //删除收藏