Commit 1600d410 authored by lujunye's avatar lujunye

同上

parent b64545f9
......@@ -104,9 +104,10 @@ class DZGLViewController: BaseViewController,UITableViewDelegate,UITableViewData
navbar.title = "地址管理"
self.view.addSubview(navbar)
HUD.flash(.progress)
let UserToken = UserDefaults.standard.value(forKey: "user_token")
if cus_id != nil {
HUD.flash(.progress)
searchBgH.constant = 0
getAddrsInfo(["user_token":UserToken,"cus_id":cus_id], success: { (data) in
self.adrInfo = data as! GetAddrsInfoModel
......@@ -116,7 +117,6 @@ class DZGLViewController: BaseViewController,UITableViewDelegate,UITableViewData
}
}else{
//searchbar
let searchBr = SearchBarView.init()
self.searchBg.addSubview(searchBr)
......@@ -165,7 +165,7 @@ class DZGLViewController: BaseViewController,UITableViewDelegate,UITableViewData
self.adrArrs.append(item)
})
self.listView.reloadData()
HUD.hide()
self.listView.mj_header?.endRefreshing()
}) { (data) in
self.listView.mj_header?.endRefreshing()
......
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