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

接口 解析说明

parent bba16b0b
...@@ -17,15 +17,14 @@ class YHJsApi: NSObject { ...@@ -17,15 +17,14 @@ class YHJsApi: NSObject {
} }
extension YHJsApi { extension YHJsApi {
//跳转到 办证3 - 赴港时间预约界面 //4、跳转到 办证3 - 赴港时间预约界面
@objc func gotoAppointCertificateSyn(_ orderID : Int) { @objc func gotoAppointCertificateSyn(_ orderID : Int) {
let vc = YHCertificateAppointViewController() let vc = YHCertificateAppointViewController()
// vc.orderId = 151090
vc.orderId = orderID vc.orderId = orderID
delegate?.navigationController?.pushViewController(vc) delegate?.navigationController?.pushViewController(vc)
} }
//展示pics //3、展示图片组
@objc func showPicsSyn(_ dicPics: String) { @objc func showPicsSyn(_ dicPics: String) {
DispatchQueue.main.async { DispatchQueue.main.async {
if let data = dicPics.data(using: .utf8) { if let data = dicPics.data(using: .utf8) {
...@@ -53,7 +52,7 @@ extension YHJsApi { ...@@ -53,7 +52,7 @@ extension YHJsApi {
} }
} }
//设置app导航栏隐藏、显示 //2、设置app导航栏隐藏、显示
@objc func setAppNavigation(_ tag : Any) { @objc func setAppNavigation(_ tag : Any) {
let tmp : Bool = tag as? Bool ?? false let tmp : Bool = tag as? Bool ?? false
DispatchQueue.main.async { DispatchQueue.main.async {
...@@ -64,7 +63,7 @@ extension YHJsApi { ...@@ -64,7 +63,7 @@ extension YHJsApi {
} }
} }
//保存图片到本地 //1、保存图片到本地
@objc func saveLocalPictureSyn(_ picUrl: String) { @objc func saveLocalPictureSyn(_ picUrl: String) {
DispatchQueue.main.async { DispatchQueue.main.async {
......
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