H5|App 唤起学点云

in 前端JavaScript with 0 comment
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}`)
  }
}
Comments are closed.