Commit 70e852a8a8acf5b90a17f0bb2f12edc05f7ceb16

Authored by 张旭
1 parent 2ec2ef24

改回sid

metaCode/Classes/Main/HomePage/View/CNMainView.swift
... ... @@ -154,17 +154,10 @@ class CNFrontMainView : UIView{
154 154 @objc func addStandBtnAction() {
155 155 //跳转到添加身份页面
156 156 // currentViewController()?.navigationController?.pushViewController(CNLiveMineInputViewController.init(listModel: _idModel!), animated: false)
157   -// DispatchQueue.main.asyncAfter(deadline: .now()+0.5){
158   -
159   - let vc:CNLiveBaseViewController = currentViewController() as! CNLiveBaseViewController
160   - if(vc.isKind(of: CNMetaCodeHomePageController.self)){
161   - currentViewController()?.navigationController?.pushViewController(CNLiveMineInputViewController.init(listModel: _idModel!), animated: true)
162   -// currentViewController()?.navigationController?.pushViewController(CNTempController(), animated: true)
163   - }else{
164   - print("notclass")
  157 + DispatchQueue.main.asyncAfter(deadline: .now()+0.25){
  158 + currentViewController()?.navigationController?.pushViewController(CNLiveMineInputViewController.init(listModel: self._idModel!), animated: true)
165 159 }
166   -
167   -// }
  160 +
168 161 }
169 162 }
170 163  
... ...
metaCode/Classes/Main/MinePage/ViewModel/CNLiveMineViewModel.swift
... ... @@ -253,7 +253,7 @@ class CNLiveMineViewModel: NSObject {
253 253 /// - resultBlock: 返回
254 254 static func requestAuthStandList(page: NSInteger, resultBlock: @escaping resultNewsBlock) {
255 255 let param = NSMutableDictionary()
256   - param.setValue("10458139", forKey: "sid")//10458139 UserInfoManager.shared.userInfo.uid
  256 + param.setValue(UserInfoManager.shared.userInfo.uid, forKey: "sid")//10458139 UserInfoManager.shared.userInfo.uid
257 257 param.setValue("10", forKey: "pageSize")
258 258 param.setValue("\(page)", forKey: "page")
259 259 CNLiveNetworking.setAllowRequestDefaultArgument(true)
... ... @@ -451,7 +451,7 @@ class CNLiveMineViewModel: NSObject {
451 451 /// - resultBlock: 返回
452 452 static func requestsStandInfo(identityId: String, type: CNLiveMineGetWriteType, resultBlock: @escaping resultNewsBlock) {
453 453 let param = NSMutableDictionary()
454   - param.setValue("10458139", forKey: "sid")//UserInfoManager.shared.userInfo.uid //10458139
  454 + param.setValue(UserInfoManager.shared.userInfo.uid, forKey: "sid")//UserInfoManager.shared.userInfo.uid //10458139
455 455 param.setValue(identityId, forKey: "identityId")
456 456 showLoading(message: "")
457 457 CNLiveNetworking.setAllowRequestDefaultArgument(true)
... ...