env.development.js 1.88 KB
/*
 * @Descripttion:
 * @version:
 * @Author: limin
 * @Date: 2021-06-07 14:12:32
 * @LastEditors: limin
 * @LastEditTime: 2021-06-28 10:13:38
 */
// 本地环境配置
module.exports = {
  envVersion: 'trial',
  title: '嘀加企微管家',
  request: {
    baseURL: '//scrm.test.glsx.com.cn', // 本地测试项目地址,
    // 设置超时时间
    timeout: 180000,
    // 携带凭证
    withCredentials: true,
    // 返回数据类型
    responseType: 'json'
  },
  response: {
    data_key: 'data',
    message_key: 'message',
    code_key: 'code',
    code_success_value: '0',
    errId_logout_value: '21',
    logout_function: 'reLogin',
    code_message_map: {}
  },
  secret: "c24619ed7fef02a0ae16328146bca5f97cc6493957a2137b",
  shopmall_appid: "wxe10067a63c1856ac",
  sign: {
    appKey: "48e5e13229b82c1b4e6e8c96151f0637",
    format: "json",
    locale: "zh_CN",
    source: "scrm-main",
    v: "1.0.0",
  },
  vconsole: true,
  text: '群发助手',
  subsystemInfo: {
    activity: {
      path: '/dj-scrm-wx-work-attachment-activity/#/'
    },
    customer: {
      path: '/dj-scrm-wx-work-attachment-customer/#/'
    },
    report: {
      path: '/dj-scrm-wx-work-attachment-report/#/'
    },
    upload: {
      path: '/dj-scrm-wx-work-file-upload/#/'
    },
    sop: {
      path: '/dj-scrm-wx-work-sop/#/'
    },
    clew: {
      path: '/dj-scrm-wx-work-attachment-clew/#/'
    },
    assistance: {
      path: '/dj-scrm-wx-work-attachment-assistance/#/'
    },
    psd: {
      path: '/dj-scrm-wx-work-attachment-psd/#/'
    }
  },
  //根据企微配置特殊菜单
  specialMenuList: [
    {
      label: '喜报早报记录',
      menuUrl: encodeURIComponent('chat/paper@psd|https://img01.glsx.com.cn/weapp/resource/scrm-mobile/main/paper.png'),
      // corpIds: [],
      corpIds: ['ww7d1c6fb5709cc884', 'wwa55ffac1225eb25e'],
      parentLabel: '工作台',
      parentIndex: 0
    }
  ],

}