Ver código fonte

【会员系统】取消测试环境配置

niehaoyu 2 semanas atrás
pai
commit
ab264d24bc

+ 4 - 4
PDF Office/PDF Master/Class/KMAdvertisement/Config/KMAdvertisementConfig.swift

@@ -114,15 +114,15 @@ import UIKit
     public var language: KMAdvertisementLanguageType = .unknow
     
     func activityBaseURL() -> String {
-//#if DEBUG
+#if DEBUG
         if kTestMode == 1 {
             return "http://test-store.kdan.cn:3019"
         } else {
             return "https://store.filmagepro.com:3018"
         }
-//#else
-//        return "https://store.filmagepro.com:3018"
-//#endif
+#else
+        return "https://store.filmagepro.com:3018"
+#endif
     }
     
     public func initParameters(appName: KMAdvertisementAppNameType, subscribeType:KMAdvertisementSubscribeType, platform: KMAdvertisementPlatformType) {

+ 1 - 1
PDF Office/PDF Master/Class/Purchase/DMG/Verification/VerificationManager/VerificationManager.h

@@ -12,7 +12,7 @@
 //#import "ASIFormDataRequest.h"
 //#import "JSONKit.h"
 
-#define kTestMode   1
+#define kTestMode   0
 
 #if kTestMode