Commit 872334da authored by DavidHuang's avatar DavidHuang

处理 跳转详情添加参数的问题

parent 06af5808
......@@ -118,7 +118,10 @@ class AppDelegate: UIResponder, UIApplicationDelegate, WXApiDelegate {
if let goodsId = arrItems["id"] as? String {
NotificationCenter.default.post(name: YhConstant.YhNotification.closeShareUIInLiveRoomNotifiction, object: nil)
var url = YHBaseUrlManager.shared.curH5URL() + "superAppBridge.html#/goods/sales-detail" + "?id=\(goodsId)"
let shareYinheID = arrItems["shareYinheID"] as? String ?? ""
var url = YHBaseUrlManager.shared.curH5URL() + "superAppBridge.html#/goods/sales-detail" + "?id=\(goodsId)&shareYinheID=\(shareYinheID)"
if YHLoginManager.shared.isLogin() {
let token = YHLoginManager.shared.h5Token
url = url + "&param=" + token
......
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