app.js 1.4 KB

123456789101112131415161718192021222324252627282930313233343536
  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. let domain = 'https://cswanwu.com.cn'
  13. //let domain ='http://47.115.34.96:20710'
  14. //let domain = 'http://127.0.0.1:20810'
  15. module.exports = {
  16. // 请求域名 格式: https://您的域名
  17. HTTP_REQUEST_URL:domain,
  18. // #ifdef MP || APP-PLUS
  19. // H5商城地址
  20. HTTP_H5_URL: 'http://h5.xxx.com',
  21. // #endif
  22. HEADER:{
  23. 'content-type': 'application/json'
  24. },
  25. HEADERPARAMS:{
  26. 'content-type': 'application/x-www-form-urlencoded'
  27. },
  28. // 回话密钥名称 请勿修改此配置
  29. TOKENNAME: 'Authori-zation',
  30. // 缓存时间 0 永久
  31. EXPIRE:0,
  32. //分页最多显示条数
  33. LIMIT: 10
  34. };