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

95 lines
5.2 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-08-01 19:24:12 +08:00
NSString * const kFromSearchToHomeViewKey = @"kFromSearchToHomeViewKey";//
NSString * const kTabShowAnchorCardKey = @"kTabShowAnchorCardKey"; //tab
NSString * const kRedPacketHistory = @"kRedPacketHistory";
2022-11-24 18:24:48 +08:00
NSString * const kTuWenMessageHistory = @"kTuWenMessageHistory";//
2022-09-27 15:07:31 +08:00
NSString * const kTeenagerStatusChange = @"kTeenagerStatusChange";//
NSString * const kRoomQuickMessageCloseCount = @"kRoomQuickMessageCloseCount";//
2023-03-14 21:14:18 +08:00
NSString * const kSailingPrizeAlertKey = @"kSailingPrizeAlertKey"; //
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",
2023-11-22 14:30:00 +08:00
@(KeyType_NTESQuickLoginBusinessId) : @"200c83103d4a413591c7969dd8d4d6e2",
2023-03-16 18:53:44 +08:00
@(KeyType_QQAppid) : @"102044928",
2022-09-23 18:12:28 +08:00
@(KeyType_QQSecret) : @"715dd2601777347cd57af77c3e28402f",
2023-03-16 18:53:44 +08:00
@(KeyType_WechatAppid) : @"wx4b772d5ebc964a38",
2023-03-23 19:18:55 +08:00
@(KeyType_WechatSecret) : @"f045979c311e13725cbb9aa87c265668",
2023-11-13 19:25:16 +08:00
@(KeyType_Agora) : @"5b4d929b6c4e4af190550c4a2ec5cd4c",
2023-03-16 10:57:51 +08:00
@(KeyType_TRTC) : @"1400798783",
2023-03-14 11:45:16 +08:00
@(KeyType_NetEase) : @"5e76ec47632d86c30ce18eabfa332b6a",
2021-10-21 12:01:21 +08:00
@(KeyType_APNSCer) : @"yinyouApnsRelease",
2023-03-14 11:45:16 +08:00
@(keyType_YiDunBussinessId) : @"601545055434f31dc44a7a33b33a8cdf",
2023-11-06 14:08:10 +08:00
@(keyType_UMengAppKey) : @"65377a39b2f6fa00ba6ad8c3",
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) : @"8428524",
@(KeyType_SystemNotifiUidKey) : @"8747473",
@(KeyType_SecretaryUidKey) : @"1930010",
2023-11-14 15:05:20 +08:00
@(KeyTyoe_BuglyKey) : @"7fcddf605c"
},
2021-12-06 20:43:58 +08:00
///
@(NO):@{
@(KeyType_PasswordEncode) : @"1ea53d260ecf11e7b56e00163e046a26",
2023-11-22 14:30:00 +08:00
@(KeyType_NTESQuickLoginBusinessId) : @"200c83103d4a413591c7969dd8d4d6e2",
2023-03-16 18:53:44 +08:00
@(KeyType_QQAppid) : @"102044928",
2022-09-23 18:12:28 +08:00
@(KeyType_QQSecret) : @"715dd2601777347cd57af77c3e28402f",
2023-03-16 18:53:44 +08:00
@(KeyType_WechatAppid) : @"wx4b772d5ebc964a38",
@(KeyType_WechatSecret) : @"f045979c311e13725cbb9aa87c265668",
2023-11-13 19:25:16 +08:00
@(KeyType_Agora) : @"5b4d929b6c4e4af190550c4a2ec5cd4c",
2023-03-16 10:57:51 +08:00
@(KeyType_TRTC) : @"1400798783",
2023-03-24 18:59:32 +08:00
@(KeyType_NetEase) : @"5d5a833a2d0ff1304a5d8bed53d2af5b",
2021-10-21 12:01:21 +08:00
@(KeyType_APNSCer) : @"yinyouApnsDebug",
2023-03-24 18:59:32 +08:00
@(keyType_YiDunBussinessId) : @"49478ae7a5491a13ce32e9b3e8127382",
2023-03-16 10:57:51 +08:00
@(keyType_UMengAppKey) : @"64127f04d64e6861394bc8e1",
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) : @"8428524",
@(KeyType_SystemNotifiUidKey) : @"8747473",
@(KeyType_SecretaryUidKey) : @"1930010",
2023-03-16 10:57:51 +08:00
@(KeyTyoe_BuglyKey) : @"6222885c55"
}
};
2021-10-24 23:41:26 +08:00
NSDictionary * enviroDic = [dic objectForKey:@(isRelase)];
return [enviroDic objectForKey:@(type)];
}
@end