Browse Source

no message

南鑫林 5 years ago
parent
commit
76d61ffaf3
1 changed files with 7 additions and 0 deletions
  1. 7 0
      RainbowPlanet/RainbowPlanet/Router/H5RouterModuleType.swift

+ 7 - 0
RainbowPlanet/RainbowPlanet/Router/H5RouterModuleType.swift

@@ -16,16 +16,19 @@ import SwiftyMediator
 /// - publish: 发布页面
 /// - pushCategory: 兑换商品分类页面
 /// - pushContentId4:  赚豆秘籍
+/// - pushContentId7: 内容协议
 /// - pushBeanRecord:  赚豆明细
 /// - pushOrder:  我的订单
 /// - pushSubject: 兑换商品专题页面
 /// - pushDetail: 兑换商品详情页面
 /// - pushActivityId: 兑换活动
+
 public enum H5RouterModuleType: MediatorTargetType {
     case pushWeb(URLString: String)
     case presentPublish
     case pushCategory
     case pushContentId4
+    case pushContentId7
     case pushBeanRecord
     case pushOrder
     case pushSubject(id:String)
@@ -51,6 +54,10 @@ extension H5RouterModuleType: MediatorSourceType {
             let vc = H5CommonViewController()
             vc.URLString = kH5ContentId4Url
             return vc
+        case .pushContentId7: //赚豆秘籍
+            let vc = H5CommonViewController()
+            vc.URLString = kH5ContentId7Url
+            return vc
         case .pushBeanRecord: //赚豆明细
             let vc = H5CommonViewController()
             vc.URLString = kH5BeanRecordUrl