123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139 |
- 'use strict'
- const findServer = require('../findAddr')
- /** 测试服务器地址 */
- const PROD_HOST = 'http://118.178.134.38'
- /** 测试服务器端口号 */
- const PROD_PORT = 7903
- /** 微信首页地址 */
- const wechatRootUrl = "wechat/#/index"
- const currFile = __filename.split("/").pop()
- let serverConfig = {
- /**
- * 正式环境
- * 【注】如果没有端口号,port填null
- */
- /** 报事报修地址 */
- crm400: {
- addr: PROD_HOST,
- port: PROD_PORT,
- path: '/landcrm'
- },
- /** 商城地址 */
- walter: {
- addr: PROD_HOST,
- port: PROD_PORT,
- path: '/community'
- },
- /** 会所接口地址 */
- club: {
- addr: PROD_HOST,
- port: PROD_PORT,
- path: '/community'
- },
- /** 微信运营-管家地址 */
- houserkeep: {
- addr: PROD_HOST,
- port: PROD_PORT,
- path: '/wxmanage/steward'
- },
- /** 微信运营-活动地址 */
- activity: {
- addr: PROD_HOST,
- port: PROD_PORT,
- path: '/wxmanage/activity'
- },
- /** 微信运营-公告 */
- article: {
- addr: PROD_HOST,
- port: PROD_PORT,
- path: '/wxmanage/media'
- },
- /** 微信运营-管家 */
- steward: {
- addr: PROD_HOST,
- port: PROD_PORT,
- path: '/wxmanage/steward'
- },
- /** 微信运营-问卷调查 */
- question: {
- addr: PROD_HOST,
- port: PROD_PORT,
- path: '/wxmanage/question'
- },
- /** 收费 */
- charge: {
- addr: PROD_HOST,
- port: PROD_PORT,
- path: '/voucher'
- },
- /** 用餐预定、会议室预定 */
- activiti: {
- addr: PROD_HOST,
- port: PROD_PORT,
- path: '/activiti'
- },
- /** 装修申请 */
- decorationManage: {
- addr: PROD_HOST,
- port: PROD_PORT,
- path: '/decorationManage'
- },
- /** 物品放行 */
- itemPassport: {
- addr: PROD_HOST,
- port: PROD_PORT,
- path: '/decpassManagement'
- },
- /** 物品放行 */
- itemHouse: {
- addr: PROD_HOST,
- port: PROD_PORT,
- path: '/wf'
- },
- /** 管理视图 */
- datashow: {
- addr: PROD_HOST,
- port: PROD_PORT,
- path: '/datashow'
- },
- /** 预警 */
- warning: {
- addr: PROD_HOST,
- port: PROD_PORT,
- path: '/warning'
- },
- /** 会议管理 */
- groupcontrol: {
- addr: PROD_HOST,
- port: PROD_PORT,
- path: '/groupcontroltest'
- },
- /** 水电气表查询 */
- energyCharging: {
- addr: PROD_HOST,
- port: PROD_PORT,
- path: '/energy-charging'
- },
- /** 基础服务 */
- wuyecrm: {
- /** addr填写服务器地址,不用写http://前缀 */
- addr: PROD_HOST,
- /** port填写服务器端口号,如果不指定端口号则填写0 */
- port: PROD_PORT,
- /** path填写接口路径 */
- path: '/wuyecrm'
- },
- }
- module.exports = {
- NODE_ENV: '"production"',
- domain: JSON.stringify(PROD_HOST),
- wxRootUrl: JSON.stringify(wechatRootUrl),
- currProjectName: '"shenjiaosuo"',
- hostConfig: JSON.stringify(serverConfig),
- findAddr: findServer,
- }
|