移除被注释的 debug 代码

This commit is contained in:
eggmanQQQ
2024-07-18 10:50:15 +08:00
parent 157b67e5e0
commit 0855b81097
2 changed files with 8 additions and 9 deletions

View File

@@ -11,8 +11,7 @@ import NSObject_Rx
import NIMSDK
@main
class AppDelegate: UIResponder, UIApplicationDelegate {
var window: UIWindow?
var window: UIWindow?
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
UIApplication.shared.applicationIconBadgeNumber = 0

View File

@@ -7,15 +7,15 @@
import Foundation
enum AppKeys {
//#if DEBUG
// static let nimAppid = "5d5a833a2d0ff1304a5d8bed53d2af5b"
// static let api = "http://beta.api.ymlive.fun/"
// static let agoraKey = "5b4d929b6c4e4af190550c4a2ec5cd4c"
// static let H5_URL = "http://beta.api.ymlive.fun"
//#else
#if DEBUG
static let nimAppid = "5d5a833a2d0ff1304a5d8bed53d2af5b"
static let api = "http://beta.api.ymlive.fun/"
static let agoraKey = "5b4d929b6c4e4af190550c4a2ec5cd4c"
static let H5_URL = "http://beta.api.ymlive.fun"
#else
static let nimAppid = "5e76ec47632d86c30ce18eabfa332b6a"
static let api = "https://api.ymlive.fun/"
static let agoraKey = "5b4d929b6c4e4af190550c4a2ec5cd4c"
static let H5_URL = "https://h5.ymlive.fun"
//#endif
#endif
}