app.js 1.3 KB

1234567891011121314151617181920212223242526272829303132333435
  1. // +----------------------------------------------------------------------
  2. // | CRMEB [ CRMEB赋能开发者,助力企业发展 ]
  3. // +----------------------------------------------------------------------
  4. // | Copyright (c) 2016~2025 https://www.crmeb.com All rights reserved.
  5. // +----------------------------------------------------------------------
  6. // | Licensed CRMEB并不是自由软件,未经许可不能去掉CRMEB相关版权
  7. // +----------------------------------------------------------------------
  8. // | Author: CRMEB Team <admin@crmeb.com>
  9. // +----------------------------------------------------------------------
  10. //移动端商城API 网络接口修改此配置,小程序域名要求https 例如:https://api.front.merchant.java.crmeb.net
  11. let domain = 'https://hncsyy.com.cn'
  12. //domain = 'https://cswanwu.com.cn'
  13. //let domain = 'http://127.0.0.1:20810'
  14. module.exports = {
  15. // 请求域名 格式: https://您的域名
  16. HTTP_REQUEST_URL:domain,
  17. // #ifdef MP || APP-PLUS
  18. // H5商城地址
  19. HTTP_H5_URL: 'http://h5.xxx.com',
  20. // #endif
  21. HEADER:{
  22. 'content-type': 'application/json'
  23. },
  24. HEADERPARAMS:{
  25. 'content-type': 'application/x-www-form-urlencoded'
  26. },
  27. // 回话密钥名称 请勿修改此配置
  28. TOKENNAME: 'Authori-zation',
  29. // 缓存时间 0 永久
  30. EXPIRE:0,
  31. //分页最多显示条数
  32. LIMIT: 10
  33. };