Commit e588f4e7 authored by cc's avatar cc

build

parent 2971c534
......@@ -86,6 +86,10 @@
CFG.indexLogin = "/wechat/access?apk=4AoRyTuR6XNfjNa4w5exe1bPmqDS&dbredirect=";
CFG.sensorUrl = "https://mdglfxpt.piccgroup.cn:18443/sa?project=picclife_consumer";
//代理人仅分享渠道
CFG.agentShare = getUrlParam("agentShare") || 0;
// 环境,test测试,prod生产 TIAN_TODO
CFG.env = "test"; //注意sdk 也分环境!
if (CFG.env == "test") {
......
......@@ -40,7 +40,7 @@ class App extends Component {
index: HomePage,
sharepage:SharePage,
}[skinId] || HomePage;
PageCtrl.changePage(defaultPage);
PageCtrl.changePage(CFG.agentShare == "1" ? AgentSharepage : defaultPage);
}
async componentDidMount() {
......
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