Commit 4215f4c3 authored by pete谢兆麟's avatar pete谢兆麟

分享问题修改

parent 12dd2dc9
......@@ -140,6 +140,15 @@ class YHHKEventCenterViewController: YHBaseViewController {
}
}
task.resume()
} else if model.tag.contains("香港行程") {
guard let urlString = model.list.first else {
return
}
var currentUrl = urlString
if let orderID = UserDefaults.standard.value(forKey: "orderIdForPreview") as? Int {
currentUrl = urlString + "?paramO=\(orderID)" + "&param=" + YHLoginManager.shared.h5Token
}
YHShareManager.shared.sendLinkContent("一图看清香港办事", "", UIImage(named: "AppIcon") ?? UIImage(), link: currentUrl)
} else {
guard let urlString = model.list.first else {
return
......
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