浏览代码

修改协议地址初始化方法

jsonwang 3 年之前
父节点
当前提交
8ad1fe7df5
共有 1 个文件被更改,包括 4 次插入6 次删除
  1. 4 6
      Introduce/Record/INRecorderController.swift

+ 4 - 6
Introduce/Record/INRecorderController.swift

@@ -14,9 +14,10 @@ import TYAttributedLabel
 import BFCommonKit
 import BFCommonKit
 import BFAnalyzeKit
 import BFAnalyzeKit
 
 
+ 
 class INRecorderController: BFBaseViewController {
 class INRecorderController: BFBaseViewController {
-    var cUserProtocol:String = ""
-    var cPrivacy:String = ""
+    var cUserProtocol:String = "https://weapppiccdn.yishihui.com/resources/agreements/shishuo/videoservice_\( BFLocalizedUtil.currentLanguage()).html"
+    var cPrivacy:String = "https://weapppiccdn.yishihui.com/resources/agreements/shishuo/videoagreement_\( BFLocalizedUtil.currentLanguage()).html"
     
     
     lazy var addVideoBtn: UIButton = {
     lazy var addVideoBtn: UIButton = {
         let btn = UIButton(type: .custom)
         let btn = UIButton(type: .custom)
@@ -78,10 +79,7 @@ class INRecorderController: BFBaseViewController {
     }()
     }()
  
  
     lazy var protocolLab: TYAttributedLabel = {
     lazy var protocolLab: TYAttributedLabel = {
-        
-        //根据当前系统语言设置不同的地址
-        cUserProtocol = "https://weapppiccdn.yishihui.com/resources/agreements/shishuo/videoservice_\( BFLocalizedUtil.currentLanguage()).html"
-        cPrivacy = "https://weapppiccdn.yishihui.com/resources/agreements/shishuo/videoagreement_\( BFLocalizedUtil.currentLanguage()).html"
+   
         
         
         let protocolLab = TYAttributedLabel()
         let protocolLab = TYAttributedLabel()
         protocolLab.highlightedLinkBackgroundColor = UIColor.clear
         protocolLab.highlightedLinkBackgroundColor = UIColor.clear