2025-08-14 10:07:49 +08:00
|
|
|
//
|
|
|
|
|
// NoitceAndKey.h
|
|
|
|
|
// QXLive
|
|
|
|
|
//
|
|
|
|
|
// Created by 启星 on 2025/5/8.
|
|
|
|
|
//
|
|
|
|
|
|
|
|
|
|
#ifndef NoitceAndKey_h
|
|
|
|
|
#define NoitceAndKey_h
|
2025-08-22 19:02:44 +08:00
|
|
|
typedef NS_ENUM(NSInteger) {
|
|
|
|
|
/// 房主
|
|
|
|
|
QXRoomRoleTypeOwner = 0,
|
|
|
|
|
/// 主持
|
|
|
|
|
QXRoomRoleTypeCompere,
|
|
|
|
|
/// 管理员
|
|
|
|
|
QXRoomRoleTypeManager,
|
|
|
|
|
/// 观众
|
|
|
|
|
QXRoomRoleTypeAudience,
|
|
|
|
|
}QXRoomRoleType;
|
2025-08-14 10:07:49 +08:00
|
|
|
// 三方平台
|
2025-09-08 08:49:04 +08:00
|
|
|
|
2025-08-14 10:07:49 +08:00
|
|
|
#if DEVELOPENT == 1
|
2025-09-08 08:49:04 +08:00
|
|
|
static NSString *const WechatAppId = @"wxef1289d8a89b41d4";
|
|
|
|
|
static NSString *const WechatAppSecret = @"229b6a2a75d8343676a3cc6aa3930213";
|
|
|
|
|
static NSString *const WechatUniversalLink = @"https://mdh.xscmmidi.site/";
|
2025-08-14 10:07:49 +08:00
|
|
|
|
|
|
|
|
/// 人脸核身
|
|
|
|
|
static NSString *const FaceAuthId = @"TIDAxpO9";
|
|
|
|
|
static NSString *const FaceAuthSecret = @"DcnCE33XLLfSYPTWU21lCjn9Tw14L8DtBPypZQZAdGeRKe3vHswNDLP5CSBfcOw5";
|
|
|
|
|
static NSString *const FaceAuthLicense = @"Af9QYHMCQ+OeFGTY+2sAST8E4CGao8Ytj74vPaFIM7wMclK/Bm2Zf9DIT6ke0kpeTLORUxE++QRJJ1HZYNYlmA802cQvga/C0HouDiUTul7KBT9LkMUfYp53D1nTiYcIQ6Jh9YEraH1zlJnEqmzeKBfY6TqsX5e1j6K0pMOZShVlGUhL0DgM+lrrpYPeds3E1/rerH1tARtRmCCD8LrpLDTBP84AqCpg2PtzVWJrDwm7rMeyZm0yeed9pN3LH9D2FiFju+yhtj930D1CEk3n4WZwLvjO8c/lPmycze6jAKE+XfAEa7jK8twUe3YHweNfAzzN55mVpK0K4gTEsbGzHg==";
|
|
|
|
|
|
|
|
|
|
/// 腾讯IM
|
2025-09-08 08:49:04 +08:00
|
|
|
static NSInteger const TencentIMID = 1600101474;
|
|
|
|
|
static NSString *const TencentIMSecret = @"96d9453fbdc23f5326f351c83e27fc65db0ea6cdc0ac706770bfbeeaf6c89456";
|
2025-08-14 10:07:49 +08:00
|
|
|
|
2025-09-08 08:49:04 +08:00
|
|
|
static NSString *const AddressOfMQTTServer = @"1.13.181.248";
|
2025-08-14 10:07:49 +08:00
|
|
|
static NSInteger const AddressOfMQTTPort = 1883;
|
|
|
|
|
static NSInteger const AppPushId = 46164;
|
|
|
|
|
|
|
|
|
|
static NSString *const AgoraAuthId = @"05b406b4541e413887d8d2bf9be8642c";
|
|
|
|
|
|
|
|
|
|
//一键登录AuthSDKInfo
|
|
|
|
|
static NSString *const AuthSDKKey = @"Q8xhyn+MAyHw8FQLjKOWU8ZrZMXsuflPGSxDvwKu8ULvm8eZBPNLfezCsyuKzISPIGbMK5oR6fX/TyIdFwBjfL2lUteddxG+fu8aBuyScR066oDRhj66x97xM+9n6lnog9MOdMvGryx6PkZa1/un0IoX46SfrjpitnzYZvfFlavVDOq50iO4piAU/idOWnyY+1bQAnBQsfr8ZKHTAbpR2aUn4C6R37MvtXHnmD+o3Qjx0SbCxpsvs9h91/VBQ2+XEIynDIPDM+0=";
|
|
|
|
|
|
|
|
|
|
#else
|
|
|
|
|
|
2025-09-08 08:49:04 +08:00
|
|
|
static NSString *const WechatAppId = @"wxef1289d8a89b41d4";
|
|
|
|
|
static NSString *const WechatAppSecret = @"229b6a2a75d8343676a3cc6aa3930213";
|
|
|
|
|
static NSString *const WechatUniversalLink = @"https://mdh.xscmmidi.site/";
|
2025-08-14 10:07:49 +08:00
|
|
|
|
|
|
|
|
/// 人脸核身
|
2025-09-08 08:49:04 +08:00
|
|
|
static NSString *const FaceAuthId = @"IDA8YkL0";
|
|
|
|
|
static NSString *const FaceAuthSecret = @"RqNCp7PoY77oJqVu9hFEDM0Ol2DNDQQQ97vy9CbZx6qw6iDSPZtRfotXvQgq7xA2";
|
|
|
|
|
static NSString *const FaceAuthLicense = @"P6N+VYfdu1Op5p+QwUGdI4y64PqOnxMzChX2SWWvrXjKi5gSKTKYnksyPYGpdDoEiZGUuvidfW3fJx0DHobAmD/MMpCxdzRyvyn4Z0d7Ccno6TEO2eigEbAOL4rrM8xZHE6+POuORUrmDjRR7yKwT6yVJoMa96ULUZ54tAHY5TAMBPhZad80QU40PM+28QcOtufSd6QQwyKyjM/vCo8gnR8v9lTewz7y7GWkISVoymwW8BQMIkvWEXiGoi6u3mCuj2gn7cwGcb2HCXvM0EIzSLgKSwMFrIKYVmbEQ0ZIwUqCAk7IJv5V2VyGPUc1VIli0lWWPhwaL+1kVhpPytiK5A==";
|
2025-08-14 10:07:49 +08:00
|
|
|
|
|
|
|
|
/// 腾讯IM
|
2025-09-08 08:49:04 +08:00
|
|
|
static NSInteger const TencentIMID = 1600101474;
|
|
|
|
|
static NSString *const TencentIMSecret = @"96d9453fbdc23f5326f351c83e27fc65db0ea6cdc0ac706770bfbeeaf6c89456";
|
2025-08-14 10:07:49 +08:00
|
|
|
|
2025-09-08 08:49:04 +08:00
|
|
|
static NSString *const AddressOfMQTTServer = @"62.234.12.147";
|
2025-08-14 10:07:49 +08:00
|
|
|
static NSInteger const AddressOfMQTTPort = 1883;
|
|
|
|
|
|
|
|
|
|
static NSInteger const AppPushId = 46163;
|
|
|
|
|
|
|
|
|
|
///声网
|
2025-09-08 08:49:04 +08:00
|
|
|
static NSString *const AgoraAuthId = @"a3f0f0c78307434fa1c697c3429fbdcf";
|
2025-08-14 10:07:49 +08:00
|
|
|
|
|
|
|
|
//一键登录AuthSDKInfo
|
2025-09-08 08:49:04 +08:00
|
|
|
static NSString *const AuthSDKKey = @"Qyj6q/o52PnGW8NJE48dN4ha+0KWDVyuF05Xj9HRV85u8YBs4xIkelP44/5xEv3+cMVs5aDf5/1ESuDp6rWq3tcbDoaUSaNya8S31LDrNfajmXBRucTnIpfp02T2NWjzQmKrhQVJUwH2UWp3p63fxfxE7AzA38qKtqjXKPWt+pqeeMO6lBzB0jrZv+aGPj4IsEdVw0lAW4yO0QPqKORWJNHQgEbB4sWl17Ryby4UzYzHc4gN6kAJh74ickyuKp3j";
|
2025-08-14 10:07:49 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
/// 声网
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// userdeafult
|
|
|
|
|
static NSString *const kUserLoginData = @"LoginData";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//阿里云文件上传
|
2025-09-08 08:49:04 +08:00
|
|
|
static NSString *const OSS_BUCKET_NAME = @"midi01";
|
|
|
|
|
static NSString *const OSSAccessKeyId = @"LTAI5tKgrfcFQxH46ZwWYgFW";
|
|
|
|
|
static NSString *const OSSAccessKeySecret = @"ZOjTqAJmUL563EKFKySrUwAHtx4hKt";
|
|
|
|
|
static NSString *const OSSEndPoint = @"oss-cn-beijing.aliyuncs.com";
|
2025-08-14 10:07:49 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
//文件路径
|
|
|
|
|
static NSString *const IMG_FILE_BASE_PATH = @"ios_images/";
|
|
|
|
|
static NSString *const VIDEO_FILE_BASE_PATH = @"ios/videos/";
|
|
|
|
|
static NSString *const AUDIO_FILE_BASE_PATH = @"ios_audio/";
|
|
|
|
|
static NSString *const CHAT_IMG_FILE_BASE_PATH = @"emchat/image/ios/";
|
|
|
|
|
static NSString *const CHAT_VIDEO_FILE_BASE_PATH = @"emchat/videos/ios";
|
|
|
|
|
static NSString *const CHAT_AUDIO_FILE_BASE_PATH = @"emchat/audio/ios/";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// 本地存储
|
|
|
|
|
static NSString *const kEffectsCLose = @"kEffectsCLose";
|
|
|
|
|
/// 是否打开充值
|
|
|
|
|
static NSString *const kIsOpenRecharge = @"kIsOpenRecharge";
|
2025-09-19 11:38:43 +08:00
|
|
|
/// 是否开启青少年模式
|
|
|
|
|
static NSString *const kChirldLocalPassword = @"kChirldLocalPassword";
|
2025-09-22 14:58:13 +08:00
|
|
|
/// 是否开启飘屏
|
|
|
|
|
static NSString *const kIsCloseDrifPop = @"kIsCloseDrifPop";
|
|
|
|
|
|
2025-08-14 10:07:49 +08:00
|
|
|
|
|
|
|
|
// 微信登录
|
|
|
|
|
static NSString *const noticeWeChatLogin = @"noticeWeChatLogin";
|
|
|
|
|
/// 支付宝支付成功
|
|
|
|
|
static NSString *const noticeAlipayResult = @"noticeAlipayResult";
|
|
|
|
|
/// 修改密码成功
|
|
|
|
|
static NSString *const noticeChangePassword = @"noticeChangePassword";
|
|
|
|
|
/// 相册删除成功
|
|
|
|
|
static NSString *const noticePhotosStatusChange = @"noticePhotosStatusChange";
|
|
|
|
|
|
|
|
|
|
/// 声网说话
|
|
|
|
|
static NSString *const noticeUserSpeak = @"noticeUserSpeak";
|
|
|
|
|
/// 苹果登录授权
|
|
|
|
|
static NSString *const noticeAppleLogin = @"noticeAppleLogin";
|
|
|
|
|
/// 在线|离线状态发生变化
|
|
|
|
|
static NSString *const noticeRoomUserOnlineStatusDidChanged = @"noticeRoomUserOnlineStatusDidChanged";
|
|
|
|
|
/// 消息数量发生变化
|
|
|
|
|
static NSString *const noticeUnreadNumberDidChanged = @"noticeUnreadNumberDidChanged";
|
|
|
|
|
|
|
|
|
|
/// 腾讯登录成功
|
|
|
|
|
static NSString *const noticeTencentLogin = @"noticeTencentLogin";
|
|
|
|
|
|
|
|
|
|
static NSString *const noticeUserLogin = @"noticeUserLogin";
|
2025-09-08 08:49:04 +08:00
|
|
|
/// 活动盘进度更新
|
|
|
|
|
static NSString *const noticeActivityUpdate = @"noticeActivityUpdate";
|
2025-08-14 10:07:49 +08:00
|
|
|
#endif /* NoitceAndKey_h */
|