123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141 |
- 'use strict'
- const merge = require('webpack-merge')
- const prodEnv = require('./prod.env')
- const findServer = require('../findAddr')
- // /** 测试服务器地址 */
- // const DEV_HOST = 'wyappcs.gzbfdc.com'
- // /** 测试服务器端口号 */
- const DEV_PORT = 5708
- /** 测试服务器地址 */
- // const DEV_HOST = 'wyappcs.gzbfdc.com'
- const DEV_HOST = 'http://180.168.37.139'
- // const DEV_PORT = 80
- /** 微信首页地址 */
- const wechatRootUrl = "wechat/#/index"
- const currFile = __filename.split("/").pop()
- var serverConfig = {
- /** 报事报修地址 */
- crm400: {
- /** addr填写服务器地址,不用写http://前缀 */
- addr: DEV_HOST,
- /** port填写服务器端口号,如果不指定端口号则填写0 */
- port: DEV_PORT,
- /** path填写接口路径 */
- path: '/landcrm'
- },
- /** 商城地址 */
- walter: {
- addr: DEV_HOST,
- port: DEV_PORT,
- path: '/community'
- },
- /** 会所接口地址 */
- club: {
- addr: DEV_HOST,
- port: DEV_PORT,
- path: '/community'
- },
- /** 微信运营-管家地址 */
- houserkeep: {
- addr: DEV_HOST,
- port: DEV_PORT,
- path: '/wxmanage/steward'
- },
- /** 微信运营-活动 */
- activity: {
- addr: DEV_HOST,
- port: DEV_PORT,
- path: '/wxmanage/activity'
- },
- /** 微信运营-文章 */
- article: {
- addr: DEV_HOST,
- port: DEV_PORT,
- path: '/wxmanage/media'
- },
- /** 微信运营-管家 */
- steward: {
- addr: DEV_HOST,
- port: DEV_PORT,
- path: '/wxmanage/steward'
- },
- /** 微信运营-问卷调查 */
- question: {
- addr: DEV_HOST,
- port: DEV_PORT,
- path: '/wxmanage/question'
- },
- /** 收费 */
- charge: {
- addr: DEV_HOST,
- port: DEV_PORT,
- path: '/voucher/gzb'
- },
- /** 用餐预定、会议室预定 */
- activiti: {
- addr: DEV_HOST,
- port: DEV_PORT,
- path: '/activiti'
- },
- /** 装修申请 */
- decorationManage: {
- addr: DEV_HOST,
- port: DEV_PORT,
- path: '/decorationManage'
- },
- /** 物品放行 */
- itemPassport: {
- addr: DEV_HOST,
- port: DEV_PORT,
- path: '/decpassManagement'
- },
- qpi: {
- addr: DEV_HOST,
- port: DEV_PORT,
- path: '/'
- },
- /** 尾房 */
- itemHouse: {
- addr: DEV_HOST,
- port: DEV_PORT,
- path: '/wf'
- },
- /** 尾房 */
- gf: {
- addr: DEV_HOST,
- port: DEV_PORT,
- path: '/gf'
- },
- /** 尾房 */
- filemanager: {
- addr: DEV_HOST,
- port: DEV_PORT,
- path: '/filemanager'
- },
- leasing: {
- addr: DEV_HOST,
- port: DEV_PORT,
- path: '/leasing'
- },
- neikong:{
- addr: DEV_HOST,
- port: DEV_PORT,
- path: '/neikong'
- }
- }
- module.exports = merge(prodEnv, {
- NODE_ENV: '"development"',
- domain: JSON.stringify(DEV_HOST),
- wxRootUrl: JSON.stringify(wechatRootUrl),
- currProjectName: '"ebeicloud"',
- hostConfig: JSON.stringify(serverConfig),
- findAddr: findServer,
- })
|