Commit a6420d26 authored by David黄金龙's avatar David黄金龙

身份续签指引 的web跳转

parent a572e42e
...@@ -321,15 +321,12 @@ extension YHServiceOrderListView : UITableViewDelegate,UITableViewDataSource { ...@@ -321,15 +321,12 @@ extension YHServiceOrderListView : UITableViewDelegate,UITableViewDataSource {
printLog(param) printLog(param)
var token : String = param var token : String = param
//MARK: for test hjl 还需要完善 var url = YHBaseUrlManager.shared.curH5URL() + "superAppBridge.html#/guide/identity"
var url = YHBaseUrlManager.shared.curH5URL() + "superAppBridge.html#/report/program"
let addtionString = String.randomAlphaNumericStringT(6)//随机6个字母或者数字 let addtionString = String.randomAlphaNumericStringT(6)//随机6个字母或者数字
let indexToInsert = token.index(token.startIndex, offsetBy: 6) //插入位置,这里以第六个字符后面为例 let indexToInsert = token.index(token.startIndex, offsetBy: 6) //插入位置,这里以第六个字符后面为例
token.insert(contentsOf: addtionString, at: indexToInsert) token.insert(contentsOf: addtionString, at: indexToInsert)
//superAppBridge.html#/report/program?token=&batchID=1&order_id=151190 //superAppBridge.html#/report/program?token=&batchID=1&order_id=151190
url = url + "?param=" + token
url = url + "?param=" + token + "&batchID=\(stepID)" + "&order_id=\(orderID)"
let vc = YHH5WebViewVC() let vc = YHH5WebViewVC()
vc.navTitle = "身份续签指引" vc.navTitle = "身份续签指引"
vc.url = url vc.url = url
......
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