diff --git a/OrderScheduling.xcworkspace/xcuserdata/zd.xcuserdatad/UserInterfaceState.xcuserstate b/OrderScheduling.xcworkspace/xcuserdata/zd.xcuserdatad/UserInterfaceState.xcuserstate index 5267413..336f44f 100644 Binary files a/OrderScheduling.xcworkspace/xcuserdata/zd.xcuserdatad/UserInterfaceState.xcuserstate and b/OrderScheduling.xcworkspace/xcuserdata/zd.xcuserdatad/UserInterfaceState.xcuserstate differ diff --git a/OrderScheduling/Common/WebView/WebViewController.swift b/OrderScheduling/Common/WebView/WebViewController.swift index b23334f..d139a24 100644 --- a/OrderScheduling/Common/WebView/WebViewController.swift +++ b/OrderScheduling/Common/WebView/WebViewController.swift @@ -122,8 +122,8 @@ extension WebViewController : WKScriptMessageHandler { if action == "goBack" { navigationController?.popViewController(animated: true) }else if action == "goTraining" { - let params = dict?["params"] as? [String:String] - let id = params?["id"] as? String + let params = dict?["params"] as? [String:Any] + let id = params?["id"] as? Int if let supplierId = USER.supplierId,let userId = USER.userId, let id { WEBTOOL.open(name: .docmentDetail, appending: "&supplierId=\(supplierId)&userId=\(userId)&id=\(id)") } diff --git a/fastlane/report.xml b/fastlane/report.xml index e9feab1..aa23fc5 100644 --- a/fastlane/report.xml +++ b/fastlane/report.xml @@ -5,17 +5,17 @@ - + - + - +