|
obj.deeplink = "openapp.jdmobile:\/\/virtual?params={\"category\":\"jump\",\"des\":\"m\",\"url\":\"https:\/\/union-click.jd.com\/jdc?e=&p=AyIGZRtaEwUUAlASUhYyFg5XHlwRByJDCkMFSjJLQhBaGR4cDF8QTwcKWUcYB0UHCwYbBVAcXxAdS0IJRmtjX0VSCF5ZD2BoQw1EG1Fyc1Q0Zjl1Dh43VRJfEAoVAFMcUyUCEwZUHlMSARMFZRs1FWwTN1Uea0NsEgZUGlocChUOUitbHAYVA1cTWRYHIgdRHVMRAxEAVhJbFgsiB10fa8G%2FtNLeho%2BKuseM9c7SstSZnFYbXyUyIgRlK2sVMhI3Cl8GSDIQBlQZWQ%3D%3D\",\"keplerID\":\"0\",\"keplerFrom\":\"1\",\"kepler_param\":{\"source\":\"kepler-open\",\"otherData\":{\"mopenbp7\":\"0\"},\"channel\":\"\"},\"union_open\":\"union_cps\"}"
router.push({ uri: obj.deeplink })
比如打开京东的优惠,从 ActivityManager 的日志中,可以看到 deeplink 是错乱的.
2020-01-20 14:49:26.748 1086-9577/system_process I/ActivityManager: START u0 {act=android.intent.action.VIEW dat=openapp.jdmobile://virtual?p=AyIGZRtaEwUUAlASUhYyFg5XHlwRByJDCkMFSjJLQhBaGR4cDF8QTwcKWUcYB0UHCwYbBVAcXxAdS0IJRmtjX0VSCF5ZD2BoQw1EG1Fyc1Q0Zjl1Dh43VRJfEAoVAFMcUyUCEwZUHlMSARMFZRs1FWwTN1Uea0NsEgZUGlocChUOUitbHAYVA1cTWRYHIgdRHVMRAxEAVhJbFgsiB10fa8G/tNLeho+KuseM9c7SstSZnFYbXyUyIgRlK2sVMhI3Cl8GSDIQBlQZWQ==","keplerID":"0","keplerFrom":"1","kepler_param":{"source":"kepler-open","otherData":{"mopenbp7":"0"},"channel":""},"union_open":"union_cps"}¶ms={"category":"jump","des":"m","url":"https://union-click.jd.com/jdc?e= cmp=com.jingdong.app.mall/.open.InterfaceActivity (has extras)} from uid 10147 on display 0
|
|