export const openXdyApp = url => {
const platform = judgeClient()
if (platform === 'IOS') {
return openUrl(`xdyclassroom://open.com?url=${url}`)
} else {
return window.open(`hpexclassroom://open.com/XdyClassActivity?url=${url}`)
}
}
本文由 邓尘锋 创作,采用 知识共享署名4.0 国际许可协议进行许可
本站文章除注明转载/出处外,均为本站原创或翻译,转载前请务必署名
最后编辑时间为: Feb 17, 2023 at 04:21 pm