Commit 8c6f4c5c authored by DavidHuang's avatar DavidHuang

一处代码优化

parent 82893b8d
......@@ -284,7 +284,7 @@ extension YHShareManager {
let components = AGCAppLinkingComponents()
//通过urlPrefix属性设置为申请链接前缀中的链接前缀
components.uriPrefix = "https://yinheapp.drcn.agconnect.link"
components.uriPrefix = YhConstant.DeepLink.urlPreUrlFix
//通过deepLink属性设置深度链接地址
var linkUrl = YhConstant.DeepLink.url + "?" + "type=\(type)"
......
......@@ -227,6 +227,7 @@ extension YhConstant {
//DeepLink 常量
struct DeepLink {
static let urlPreUrlFix = "https://yinheapp.drcn.agconnect.link"
static let url = "yinheapp://hkdiy-h5.galaxy-immi.com/galaxyapp"
static let compareUrl = "yinheapp://hkdiy-h5.galaxy-immi.com/galaxyapp?type="
......
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