Commit 6014ba92 by renmanyi

feat:xiaomai0改xiaomai5

parent 29a20ad7
...@@ -20,14 +20,14 @@ const BrandBannerMap: any = { ...@@ -20,14 +20,14 @@ const BrandBannerMap: any = {
xiaomai: 'https://image.xiaomaiketang.com/xm/CDCcdAdaPs.png', xiaomai: 'https://image.xiaomaiketang.com/xm/CDCcdAdaPs.png',
syoo: 'https://image.xiaomaiketang.com/xm/DzMHpX7GWF.png' syoo: 'https://image.xiaomaiketang.com/xm/DzMHpX7GWF.png'
} }
const host = typeof window !== 'undefined' && window.location.host.includes('localhost') ? 'res.xiaomai5.com' : (typeof window !== 'undefined' ? window.location.host : 'res.xiaomai5.com');
const PATH_MAP: any = { const PATH_MAP: any = {
xiaomai: 'https://res.xiaomai0.com/xiaomai-cloud-class-web', xiaomai: `https://${host}/xiaomai-cloud-class-web`,
syoo: 'https://study.syoo.cn/syoo-cloud-class-web', syoo: 'https://study.syoo.cn/syoo-cloud-class-web',
} }
const LIVE_SHARE_MAP: any = { const LIVE_SHARE_MAP: any = {
xiaomai: 'https://res.xiaomai0.com/store-live', xiaomai: `https://${host}/store-live`,
syoo: 'https://study.syoo.cn/syoo-store-live', syoo: 'https://study.syoo.cn/syoo-store-live',
} }
......
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