Authored by huangyi

Merge branch 'feature/wheel-surf' of http://git.yoho.cn/fe/yoho-activitys into feature/wheel-surf

import httpService from '../../../common/httpService'
import config from '../config'
import config from '../../../config'
let conf = params => httpService.postJson(config.domain + '/api/activity/wheelSurf/conf', params);
let start = params => httpService.postJson(config.domain + '/api/activity/wheelSurf/start', params);
... ...
module.exports = {
production: {
routerPath: '/html5/2018/10/wheelSurf',
domain: 'https://action.yoho.cn'
},
development: {
routerPath: '/html5/test/2018/10/wheelSurf',
domain: '//yoho-activity-platform.test3.ingress.dev.yohocorp.com'
}
}[process.env.NODE_ENV || 'development']
\ No newline at end of file
import React from 'react';
import {render} from 'react-dom';
import config from '../../config/index';
import config from '../../config';
import {BrowserRouter, Route, Switch, HashRouter, hashHistory, browserHistory} from 'react-router-dom';
... ...
... ... @@ -2,7 +2,7 @@ import React, {PureComponent} from 'react';
import './index.scss'
import {conf, start} from '../../api'
import yaSDK from 'yoho-activity-sdk';
import config from '../../config';
import config from '../../../../config';
import cookie from 'react-cookies';
import LazyLoad from 'react-lazy-load'
import {
... ...
... ... @@ -2,7 +2,7 @@ import React, {PureComponent} from 'react';
import './index.scss'
import {prize} from '../../api';
import yaSDK from 'yoho-activity-sdk';
import config from '../../config';
import config from '../../../../config';
import wx from 'weixin-js-sdk';
import TipModal from '../components/tip-modal';
import moment from 'moment';
... ...