|
@@ -31,6 +31,14 @@ public class PQENVUtil {
|
|
|
let channel: String = (config?.object(forKey: "ENChannel") ?? "Appstore") as! String
|
|
|
return channel
|
|
|
}
|
|
|
+
|
|
|
+ //打包时间
|
|
|
+ public var ENBuildTime:String{
|
|
|
+ let config = NSDictionary(contentsOfFile: Bundle.main.path(forResource: "PQConfig.plist", ofType: nil) ?? "")
|
|
|
+ let buildTime: String = (config?.object(forKey: "ENBuildTime") ?? "1990-01-01 00:00:00") as! String
|
|
|
+ return buildTime
|
|
|
+
|
|
|
+ }
|
|
|
|
|
|
public static let shared: PQENVUtil = {
|
|
|
let instance = PQENVUtil()
|