|
@@ -25,7 +25,6 @@ import SwiftyMediator
|
|
|
|
|
|
public enum H5RouterModuleType: MediatorTargetType {
|
|
|
case pushWeb(URLString: String)
|
|
|
- case presentPublish
|
|
|
case pushCategory
|
|
|
case pushContentId4
|
|
|
case pushContentId6
|
|
@@ -43,10 +42,7 @@ extension H5RouterModuleType: MediatorSourceType {
|
|
|
case .pushWeb(let URLString): //公共的h5
|
|
|
let vc = H5CommonViewController()
|
|
|
vc.URLString = URLString
|
|
|
- return vc
|
|
|
- case .presentPublish: //发布页面
|
|
|
- let vc = PublishViewController()
|
|
|
- return vc
|
|
|
+ return vc
|
|
|
case .pushCategory: //兑换商品分类页面
|
|
|
let vc = H5CommonViewController()
|
|
|
vc.URLString = kH5CategoryUrl
|