Commit 0448815e authored by 前端-钟卫鹏's avatar 前端-钟卫鹏

fix: 换回dev顶域

parent 4d0c08ac
......@@ -14,7 +14,7 @@ export const REQUEST_HEADER = 'http://'
/**
* 顶域
*/
export const TOP_DOMAIN = process.env.NODE_ENV !== 'development' ? getTopDomainByHost(GlobalConfig.global.siteInfo.siteUrl, true) : 'lingxitest.com'
export const TOP_DOMAIN = process.env.NODE_ENV !== 'development' ? getTopDomainByHost(GlobalConfig.global.siteInfo.siteUrl, true) : 'lingxidev.com'
// export const TOP_DOMAIN = getTopDomainByHost(GlobalConfig.global.siteInfo.siteUrl)
/**
......
......@@ -33,7 +33,6 @@ const ReadyConfirmContract: React.FC = () => {
payChannel: obj.payChannel,
}
window.location.href = `${ENTERPRISE_CENTER_URL}/pay?spam=${btoa(JSON.stringify(spam))}`
// history.replace(`${REQUEST_HEADER}${ENTERPRISE_CENTER_URL}/${TOP_DOMAIN}/pay?spam=${btoa(JSON.stringify(spam))}`)
} else {
payRef.current.setVisible(true)
}
......
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