Files
yinmeng-ios/xplan-ios/Global/XPConstant.m

87 lines
4.5 KiB
Mathematica
Raw Normal View History

//
// XPConstant.m
// xplan-ios
//
// Created by on 2021/9/13.
//
#import "XPConstant.h"
@implementation XPConstant
NSString * const kWeChatNumber = @"yinyoucc";
2021-12-07 11:08:43 +08:00
NSString * const kTeenagerAlertDatekey = @"kTeenagerAlertDatekey";
NSString * const kRoomMiniNotificationKey = @"RoomMiniNotificationKey";
2021-12-25 18:34:54 +08:00
NSString * const kRoomGiftEffectUpdateNotificationKey = @"RoomGiftEffectUpdateNotificationKey";
2022-03-01 19:28:16 +08:00
NSString * const kHomeMoreScrollPageKey = @"kHomeMoreScrollPageKey";
2022-01-26 15:51:19 +08:00
NSString * const kVisitorUnReadCountNotificationKey = @"kVisitorUnReadCountNotificationKey";
2022-02-14 14:22:03 +08:00
NSString * const kRoomRoomLittleGameMiniStageNotificationKey = @"kRoomRoomLittleGameMiniStageNotificationKey";///
NSString * const kRoomBackMusicCaptureVolumeKey = @"kRoomBackMusicCaptureVolumeKey";/// key
NSString * const kRoomBackMusicAudioMixingVolumeKey = @"kRoomBackMusicAudioMixingVolumeKey";///
NSString * const kRoomBackMusicPlayMusicOrderKey = @"kRoomBackMusicPlayMusicOrderKey";/// 1 0
NSString * const kRoomBackMusicPlayMusicFinishKey = @"kRoomBackMusicPlayMusicFinishKey";/// key
2022-06-02 18:53:45 +08:00
NSString * const kUserCompleteInfoFinishKey = @"kUserCompleteInfoFinishKey";///
2022-07-26 16:01:34 +08:00
NSString * const kHadShowNewUserGiftKey = @"kHadShowNewUserGiftKey";//
2022-07-28 11:56:59 +08:00
NSString * const kNewUserRechargeKey = @"kNewUserRechargeKey";//
2022-07-26 16:01:34 +08:00
///
NSString * const KeyWithType(KeyType type) {
2021-10-24 23:41:26 +08:00
BOOL isRelase = NO;
#ifdef DEBUG
isRelase = NO;
#else
isRelase = YES;
#endif
NSDictionary * dic = @{
///
@(YES):@{
@(KeyType_PasswordEncode) : @"1ea53d260ecf11e7b56e00163e046a26",
@(KeyType_NTESQuickLoginBusinessId) : @"ef7de5582f194c549125a64b710e7f31",
@(KeyType_QQAppid) : @"101937205",
@(KeyType_QQSecret) : @"458ed9d671ba4b177799189db5fbc434",
@(KeyType_WechatAppid) : @"wx3f0462eb7eccd64f",
@(KeyType_WechatSecret) : @"1c07949e3f53433f1c6038bfcdd54c40",
@(KeyType_Agora) : @"7ae1a8dabe7a44a9a67c829faa409e70",
2021-12-06 20:43:58 +08:00
@(KeyType_TRTC) : @"1400600174",
2021-10-21 12:01:21 +08:00
@(KeyType_NetEase) : @"14ef7a0d0a84cb49bae1c22d78cf1ddf",
@(KeyType_APNSCer) : @"yinyouApnsRelease",
2022-03-10 15:51:15 +08:00
@(keyType_YiDunBussinessId) : @"244721766ba607056a32c8824a85c253",
2021-12-08 17:29:00 +08:00
@(keyType_UMengAppKey) : @"61b065e8e014255fcba606d1",
2021-12-06 17:31:52 +08:00
@(keyType_UMengAppChannel) : @"App Store",
@(KeyType_FacePwdEncode) : @"1ea53d260ecf11e7b56e00163e046a26",
2022-02-14 19:29:29 +08:00
@(KeyType_SudGameAppID) : @"1467745235064848385",
@(KeyType_SudGameAppKey) : @"BvjLDpWol7OihaYeFebuepx1bZu6cxU5",
@(KeyType_GuildUidKey) : @"904771",
@(KeyType_SystemNotifiUidKey) : @"904770",
@(KeyType_SecretaryUidKey) : @"904769"
},
2021-12-06 20:43:58 +08:00
///
@(NO):@{
@(KeyType_PasswordEncode) : @"1ea53d260ecf11e7b56e00163e046a26",
@(KeyType_NTESQuickLoginBusinessId) : @"09c1214706c34f4798d3f05d86148608",
@(KeyType_QQAppid) : @"101937205",
@(KeyType_QQSecret) : @"458ed9d671ba4b177799189db5fbc434",
@(KeyType_WechatAppid) : @"wx3f0462eb7eccd64f",
@(KeyType_WechatSecret) : @"1c07949e3f53433f1c6038bfcdd54c40",
@(KeyType_Agora) : @"7ae1a8dabe7a44a9a67c829faa409e70",
2021-12-06 20:43:58 +08:00
@(KeyType_TRTC) : @"1400600174",
2021-10-21 12:01:21 +08:00
@(KeyType_NetEase) : @"82a8d602aacbbb27a1c0fc809052286e",
@(KeyType_APNSCer) : @"yinyouApnsDebug",
2022-03-10 15:51:15 +08:00
@(keyType_YiDunBussinessId) : @"be58dfa4a664540006f0ed1f752d604a",
2021-12-06 17:31:52 +08:00
@(keyType_UMengAppKey) : @"5ff6bc6dadb42d5826a1cbc4",
@(keyType_UMengAppChannel) : @"App Store",
@(KeyType_FacePwdEncode) : @"1ea53d260ecf11e7b56e00163e046a26",
2022-02-14 19:29:29 +08:00
@(KeyType_SudGameAppID) : @"1467745235064848385",
@(KeyType_SudGameAppKey) : @"BvjLDpWol7OihaYeFebuepx1bZu6cxU5",
@(KeyType_GuildUidKey) : @"938284",
@(KeyType_SystemNotifiUidKey) : @"938283",
@(KeyType_SecretaryUidKey) : @"938282"
}
};
2021-10-24 23:41:26 +08:00
NSDictionary * enviroDic = [dic objectForKey:@(isRelase)];
return [enviroDic objectForKey:@(type)];
}
@end