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

37 lines
944 B
C
Raw Normal View History

//
// XPConstant.h
// xplan-ios
//
// Created by 冯硕 on 2021/9/13.
//
///一些项目中所用到的key
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@interface XPConstant : NSObject
2021-09-13 18:56:16 +08:00
UIKIT_EXTERN NSString * const kUMengAppkey;
UIKIT_EXTERN NSString * const kChannelKey;
UIKIT_EXTERN NSString * const kWeChatNumber;
2021-09-13 18:56:16 +08:00
typedef NS_ENUM(NSUInteger, KeyType) {
2021-09-16 17:21:52 +08:00
KeyType_PasswordEncode,///密码 des 加密的
KeyType_NTESQuickLoginBusinessId,///玩意易盾 快捷登录 id
2021-09-16 17:21:52 +08:00
KeyType_QQAppid,///qq appid
KeyType_QQSecret, ///QQ 的 secret
KeyType_WechatAppid,///微信的 appid
KeyType_WechatSecret,///微信的 secret
KeyType_Agora,///声网 key
2021-10-21 12:01:21 +08:00
KeyType_NetEase,///云信的key
KeyType_APNSCer,///推送证书的名字
2021-10-29 15:53:44 +08:00
keyType_YiDunBussinessId,///易盾的id
};
2021-09-16 17:21:52 +08:00
/// 获取当前项目中所用到的 type 所对应的 value 的值 type 类型
NSString * const KeyWithType(KeyType type);
@end
NS_ASSUME_NONNULL_END