Commit 0b7d5b42 by zhanghaozhe

Merge branch 'red-envelope-statistics' into pre

parents 15242f12 4092b755
......@@ -596,8 +596,7 @@ class RedPacket extends PureComponent {
//设置统计信息
setRelativeCookie = () => {
const config = {path: '/', domain: '.julyedu.com'}
const {shareInfo} = this.state
cookie.set('share_code', shareInfo && shareInfo.share_code ? shareInfo.share_code : 'share_code', config)
cookie.set('share_code', getParam('share_code') ? getParam('share_code') : 'share_code', config)
}
render() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment