private var refreshControl= UIRefreshControl()
//添加刷新
refreshControl.addTarget(self, action:#selector(refreshData), for: .valueChanged)
refreshControl.attributedTitle = NSAttributedString(string:"松手刷新")
casesTableView.addSubview(refreshControl)
@objc func refreshData() {}