Compare commits

...

87 Commits

Author SHA1 Message Date
liyuhua
d6780c76f8 更换图片logo 2024-04-03 21:28:39 +08:00
liyuhua
bb3d4850b4 小游戏优化 2024-04-03 21:28:39 +08:00
liyuhua
d4958b340f 修复bug 2024-04-03 21:28:38 +08:00
liyuhua
7d7b625ff0 更改logo 2024-04-03 21:28:38 +08:00
liyuhua
353a60f525 修复bug 2024-04-03 21:28:30 +08:00
liyuhua
9b86af095e 商店包版本修改 此commit置顶 2.6.6 2024-04-03 17:20:30 +08:00
liyuhua
9471b22869 商店包版本修改 此commit置顶 2.6.6 2024-04-03 17:19:56 +08:00
liyuhua
4851a8c997 贵族改版 2024-04-03 17:18:44 +08:00
liyuhua
3edb300cfe 修复bug 2024-04-01 10:32:18 +08:00
liyuhua
bcb7de1950 贵族改版 2024-03-29 19:18:58 +08:00
liyuhua
647291dfdf 商店包版本修改 此commit置顶 2.6.5 2024-03-26 15:09:58 +08:00
liyuhua
0e9d23117e 商店包版本修改 此commit置顶 2.6.5 2024-03-26 15:09:58 +08:00
liyuhua
25f0e896e1 QCloud文件传输 2024-03-26 14:57:06 +08:00
liyuhua
51887239ca QCloud文件传输 2024-03-26 14:56:55 +08:00
liyuhua
348e2b14a4 更换存储 2024-03-25 15:28:15 +08:00
liyuhua
6d450443d0 通用飘屏更换协议 2024-03-25 14:54:27 +08:00
liyuhua
17346ffedf 超级礼物 2024-03-25 14:39:36 +08:00
liyuhua
6f75c535c1 商店包版本修改 此commit置顶 2.6.4 2024-03-20 20:42:53 +08:00
liyuhua
9688b04a25 邀请码及通用飘屏 2024-03-20 19:55:26 +08:00
liyuhua
d9d9976046 邀请码bug修复 2024-03-19 14:48:45 +08:00
liyuhua
de67e0b3f9 邀请保存图片 2024-03-14 17:00:45 +08:00
liyuhua
5554197b7c 邀请保存图片 2024-03-14 16:52:41 +08:00
liyuhua
09ba817622 商店包版本修改 此commit置顶 2.6.3 2024-03-12 20:59:37 +08:00
liyuhua
4dd0447c6f 修复bug 2024-03-12 20:58:33 +08:00
liyuhua
905e3ed441 疯狂动物园 2024-03-12 18:17:33 +08:00
liyuhua
d00366238e 商店包版本修改 此commit置顶 2.6.2 2024-03-06 20:18:36 +08:00
liyuhua
d0f4ad4e12 修复推送bug 2024-02-27 10:40:48 +08:00
liyuhua
49fcca821b 商店包版本修改 此commit置顶 2.6.1 2024-02-26 18:10:58 +08:00
liyuhua
7ae5cc9a4c 商店包版本修改 此commit置顶 2.7.0 2024-02-26 17:18:57 +08:00
liyuhua
12a1dd9284 商店包版本修改 此commit置顶 2.7.0 2024-02-26 17:18:21 +08:00
liyuhua
2f2456fa18 商店包版本修改 此commit置顶 2.6.0 2024-02-23 18:35:35 +08:00
liyuhua
a189cdfaa8 修复bug 2024-02-23 14:40:10 +08:00
liyuhua
5f0d52451c 首页tag优化 2024-02-22 15:58:48 +08:00
liyuhua
06b39c2671 主播收入 2024-02-21 17:22:50 +08:00
liyuhua
32c6c8c7d2 资源位bug修复 2024-02-21 10:51:08 +08:00
liyuhua
6cbf6c55ca 推送及房间资源位优化 2024-02-21 10:18:59 +08:00
liyuhua
8e1ca7fa99 版本修改 此commit置顶 2.5.2 2024-01-11 17:58:31 +08:00
liyuhua
fe423a27a5 版本修改 此commit置顶 2.5.2 2024-01-11 17:57:47 +08:00
liyuhua
29c188788d 版本修改 此commit置顶 2.5.2 2024-01-11 17:57:06 +08:00
liyuhua
9f12705a8b 版本修改 此commit置顶 2.5.1 2024-01-10 18:04:12 +08:00
liyuhua
1455e352b7 商店包版本修改 此commit置顶 2.5.0 2024-01-06 10:23:02 +08:00
liyuhua
628b4f0c9f 商店包版本修改 此commit置顶 2.5.0 2024-01-06 10:22:25 +08:00
liyuhua
a75f291364 修复bug 2024-01-05 17:28:14 +08:00
liyuhua
470ecd99e7 修复bug 2024-01-05 17:05:27 +08:00
liyuhua
c670d7be6d 优化 2024-01-03 18:18:42 +08:00
liyuhua
10a1e6e09e 修复bug 2024-01-03 16:58:16 +08:00
liyuhua
5c057821a7 声网跨房语音,在线用户接口更改,私聊限制 2024-01-02 16:34:32 +08:00
liyuhua
6007611a3b 修复line无法登录问题 2023-12-29 16:43:37 +08:00
liyuhua
3a576925a2 2.4.6版本发版 此commit置顶 2023-12-15 19:03:44 +08:00
liyuhua
1bd2382d6a 2.4.2版本发版 此commit置顶 2023-12-15 17:08:10 +08:00
liyuhua
509c47cc2a 2.4.1版本发版 此commit置顶 2023-12-12 11:59:46 +08:00
liyuhua
0f47ed8ed7 2.4.0版本发版 此commit置顶 2023-12-12 11:55:07 +08:00
liyuhua
972f6d61ea 2.4.0版本发版 此commit置顶 2023-12-11 16:14:02 +08:00
liyuhua
5e2c5080c5 修复bug 2023-12-11 16:11:56 +08:00
liyuhua
ce308df1b6 修复bug 2023-12-08 10:34:47 +08:00
liyuhua
6a3201135b 选择区号修改 2023-12-07 19:44:52 +08:00
liyuhua
6e8ead27dd 修复bug 2023-12-07 15:44:03 +08:00
liyuhua
a8bef5946e 修复bug 2023-12-06 17:40:56 +08:00
liyuhua
3afa60587a 优化地区 2023-12-04 18:42:38 +08:00
liyuhua
52e7d4ff7e 修复bug 2023-11-30 16:41:28 +08:00
liyuhua
566d8a3672 房间踢人逻辑优化 2023-11-28 16:50:45 +08:00
liyuhua
8dffff8492 修复贵族页无法充值钻石bug 2023-11-28 11:48:00 +08:00
liyuhua
398b4e5e81 寻爱优化 2023-11-27 14:53:52 +08:00
liyuhua
a19adac48e 优化 2023-11-24 14:50:14 +08:00
liyuhua
f9321a6586 2.3.0版本发版 此commit置顶 2023-11-23 16:52:54 +08:00
liyuhua
411528467c 修复公屏乱跳问题 2023-11-23 16:04:15 +08:00
liyuhua
24d55bc807 修复bug 2023-11-23 10:56:01 +08:00
liyuhua
39b64f59b3 修复bug 2023-11-20 19:29:01 +08:00
liyuhua
cbd7b5cdbc 修复bug 2023-11-20 14:25:47 +08:00
liyuhua
d7f04e400a 优化打印信息 2023-11-15 17:25:09 +08:00
liyuhua
90eab408d0 活动改造 2023-11-15 16:49:59 +08:00
liyuhua
56103bb220 贵族飘屏动画更改 2023-11-15 14:16:01 +08:00
liyuhua
cee26a4c25 改造礼物面板bug修复 2023-11-14 17:00:16 +08:00
liyuhua
0f3dedd701 改造礼物面板 2023-11-14 15:07:28 +08:00
liyuhua
6e69623fe1 礼物面板更改 2023-11-13 16:42:34 +08:00
liyuhua
0161a860af 首页请求优化 2023-11-09 16:20:40 +08:00
liyuhua
92844a9619 新增调试工具 2023-11-09 15:26:14 +08:00
liyuhua
4285c2b6c7 修复bug 2023-11-08 16:08:13 +08:00
liyuhua
95a8cfc86d 升级trtc 2023-11-03 11:19:14 +08:00
liyuhua
47eab96f43 优化bug 2023-11-03 10:17:12 +08:00
liyuhua
723e946141 我的,网络下载优化 2023-11-02 11:14:35 +08:00
liyuhua
79015ca5ce 2.2.1版本发版 此commit置顶 2023-11-02 10:29:55 +08:00
liyuhua
960a708916 2.2.0版本发版 此commit置顶 2023-11-02 10:05:13 +08:00
liyuhua
138f7ed2d9 2.2.0版本发版 此commit置顶 2023-11-02 09:57:45 +08:00
liyuhua
edcac4f7fe 2.2.0版本发版 此commit置顶 2023-11-01 20:42:36 +08:00
liyuhua
994cdffa71 2.2.0版本发版 此commit置顶 2023-11-01 20:41:20 +08:00
liyuhua
44ff9e9813 2.2.0版本发版 此commit置顶 2023-11-01 20:38:26 +08:00
654 changed files with 15725 additions and 5572 deletions

37
Podfile
View File

@@ -4,13 +4,14 @@ source 'https://mirrors.tuna.tsinghua.edu.cn/git/CocoaPods/Specs.git'
target 'YuMi' do
use_frameworks!
#pag动画
pod 'libpag'
pod 'libpag', '~> 4.3.21'
pod 'Bugly'
pod 'Adjust', '~> 4.31.0'
pod 'Firebase/Analytics'
pod 'FBSDKLoginKit'
pod 'FBSDKCoreKit'
pod 'FBSDKShareKit'
pod 'LineSDKSwift'
# 滑动标签栏
pod 'JXCategoryView'
pod 'JXPagingView/Pager'
@@ -39,42 +40,38 @@ target 'YuMi' do
pod 'IQKeyboardManager'
pod 'TZImagePickerController'
#TRTC
pod 'TXLiteAVSDK_TRTC', '~> 11.4.14445'
pod 'TXLiteAVSDK_TRTC', '~> 11.4.14530'
#vap礼物动画
pod 'QGVAPlayer'
#上传音乐
pod 'CocoaAsyncSocket',:modular_headers => true
#声网
pod 'AgoraRtcEngine_iOS', '~> 4.2.2'
#上传图片
pod 'Qiniu'
#内购
pod 'IAPHelper'
pod 'AgoraRtcEngine_iOS', '~> 4.2.2'
#持久化存储
pod 'SSKeychain'
pod 'Base64'
pod 'SSKeychain'
pod 'Base64'
#pop动画
pod 'pop', '~> 1.0.12'
#云信
pod 'NIMSDK_LITE', '~> 9.2.8'
pod 'GKCycleScrollView', '~> 1.2.0'
pod 'SVGAPlayer'
pod 'GoogleSignIn'
pod 'mob_linksdk_pro'
pod 'mob_sharesdk'
pod 'mob_sharesdk/ShareSDKPlatforms/Apple'
pod 'mob_sharesdk/ShareSDKPlatforms/Line'
pod 'mob_sharesdk/ShareSDKExtension'
pod 'GKCycleScrollView', '~> 1.2.0'
pod 'SVGAPlayer'
pod 'GoogleSignIn'
pod 'mob_linksdk_pro'
pod 'mob_sharesdk'
pod 'mob_sharesdk/ShareSDKPlatforms/Apple'
#pod 'mob_sharesdk/ShareSDKPlatforms/Line'
pod 'mob_sharesdk/ShareSDKExtension'
pod 'UMCommon'
pod 'UMDevice'
pod 'UMDevice'
pod 'lottie-ios'
pod 'WeexSDK'
pod 'ZLCollectionViewFlowLayout'
pod 'WMZDropDownMenu'
pod 'TABAnimated'
pod 'YuMi',:path=>'yum'
pod 'YuMi',:path=>'yum'
pod 'QCloudCOSXML'
end
post_install do |installer|

File diff suppressed because it is too large Load Diff

View File

@@ -10,6 +10,8 @@
#import <NIMSDK/NIMSDK.h>
#import <ShareSDK/ShareSDK.h>
#import <UserNotifications/UNUserNotificationCenter.h>
#import <UserNotifications/UserNotifications.h>
#import <MOBFoundation/MobSDK+Privacy.h>
///Tool
#import "YUMIConstant.h"
#import "CustomAttachmentDecoder.h"
@@ -23,13 +25,18 @@
#import "XCCurrentVCStackManager.h"
#import "ClientConfig.h"
#import <Adjust/Adjust.h>
#import <UserNotifications/UserNotifications.h>
#import <Bugly/Bugly.h>
#import "YuMi-swift.h"
UIKIT_EXTERN NSString * kYouMiNumberCountKey;
UIKIT_EXTERN NSString * adImageName;
@implementation AppDelegate (ThirdConfig)
@@ -40,7 +47,27 @@ UIKIT_EXTERN NSString * adImageName;
[self initEmojiData];
[self configAdjust];
[self configBugly];
[self registerNot];
}
-(void)registerNot{
if (@available(iOS 10.0, *)) {
UNUserNotificationCenter *center = [UNUserNotificationCenter currentNotificationCenter];
[center requestAuthorizationWithOptions:(UNAuthorizationOptionAlert | UNAuthorizationOptionBadge | UNAuthorizationOptionSound) completionHandler:^(BOOL granted, NSError * _Nullable error) {
if (granted) {
[center getNotificationSettingsWithCompletionHandler:^(UNNotificationSettings * _Nonnull settings) {
if (settings.authorizationStatus == UNAuthorizationStatusAuthorized){
dispatch_async(dispatch_get_main_queue(), ^{
[[UIApplication sharedApplication] registerForRemoteNotifications];
});
}
}];
}
}];
}
}
/**
Bugly
*/
@@ -69,7 +96,15 @@ UIKIT_EXTERN NSString * adImageName;
// NIMSDK
NSString *appKey = KeyWithType(KeyType_NetEase);
NIMSDKOption *option = [NIMSDKOption optionWithAppKey:appKey];
#ifdef DEBUG
option.apnsCername = @"pikoDevelopPush";
#else
option.apnsCername = @"newPiko";
#endif
[[NIMSDK sharedSDK] registerWithOption:option];
// NIM SDK
@@ -103,14 +138,22 @@ UIKIT_EXTERN NSString * adImageName;
[Adjust appDidLaunch:adjustConfig];
}
- (void)configShareSDK {
[PILineLoginManager registerLine];
[ShareSDK registPlatforms:^(SSDKRegister *platformsRegister) {
///faceBook
// [platformsRegister setupFacebookWithAppkey:@"1266232494209868" appSecret:@"c9b170b383f8be9cdf118823b8632821" displayName:YMLocalizedString(@"AppDelegate_ThirdConfig0")];
[platformsRegister setupLineAuthType:SSDKAuthorizeTypeBoth];
}];
NSString *isUpload = [[NSUserDefaults standardUserDefaults]valueForKey:@"kMobLinkUploadPrivacy"];
if (isUpload == nil){
[MobSDK uploadPrivacyPermissionStatus:YES onResult:^(BOOL success) {
}];
[[NSUserDefaults standardUserDefaults] setValue:@"YES" forKey:@"kMobLinkUploadPrivacy"];
[[NSUserDefaults standardUserDefaults] synchronize];
}
}
#pragma mark -

View File

@@ -5,6 +5,8 @@
// Created by admin on 2023/3/9.
//
#import <MobLinkPro/MobLink.h>
#import <MobLinkPro/MLSDKScene.h>
#import "AppDelegate.h"
#import "TabbarViewController.h"
#import "BaseNavigationController.h"
@@ -19,10 +21,13 @@
#import <GoogleSignIn/GoogleSignIn.h>
#import "XPLoginViewController.h"
#import "AccountModel.h"
#import "YuMi-swift.h"
#import "SessionViewController.h"
#import "LoginFullInfoViewController.h"
@import Firebase;
UIKIT_EXTERN NSString * const kOpenRoomNotification;
@interface AppDelegate ()
@interface AppDelegate ()<IMLSDKRestoreDelegate>
@end
@@ -57,12 +62,23 @@ UIKIT_EXTERN NSString * const kOpenRoomNotification;
}
[[FBSDKApplicationDelegate sharedInstance] application:application didFinishLaunchingWithOptions:launchOptions];
[FIRApp configure];
[MobLink setDelegate:self];
return YES;
}
- (void) IMLSDKWillRestoreScene:(MLSDKScene *)scene Restore:(void (^)(BOOL, RestoreStyle))restoreHandler
{
NSString *inviteCode = scene.params[@"inviteCode"];
if (inviteCode != nil && [[AccountInfoStorage instance]getUid].length == 0){
ClientConfig *config = [ClientConfig shareConfig];
config.inviteCode = inviteCode;
}
restoreHandler(YES, MLDefault);
}
@@ -101,13 +117,45 @@ UIKIT_EXTERN NSString * const kOpenRoomNotification;
- (void)application:(UIApplication *)app didRegisterForRemoteNotificationsWithDeviceToken:(NSData *)deviceToken {
// devicetoken
[[NIMSDK sharedSDK] updateApnsToken:deviceToken];
[[NIMSDK sharedSDK] updateApnsToken:deviceToken ];
}
- (void)application:(UIApplication *)application didReceiveRemoteNotification:(NSDictionary *)userInfo fetchCompletionHandler:(void (^)(UIBackgroundFetchResult))completionHandler{
NSString *data = userInfo[@"data"];
if(data){
NSDictionary *dataDic = [data mj_JSONObject];
NSString *userId = dataDic[@"uid"];
if(userId){
dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(0.5 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
[[NSNotificationCenter defaultCenter]postNotificationName:kOpenRoomNotification object:nil userInfo:@{@"type":@"kOpenChat",@"uid":userId,@"isNoAttention":@(YES)}];
ClientConfig *config = [ClientConfig shareConfig];
config.pushChatId = userId;
});
return;
}
}
dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(0.5 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
NSString *userId = userInfo[@"uid"];
if(userId){
[[NSNotificationCenter defaultCenter]postNotificationName:kOpenRoomNotification object:nil userInfo:@{@"type":@"kOpenChat",@"uid":userId,@"isNoAttention":@(YES)}];
ClientConfig *config = [ClientConfig shareConfig];
config.pushChatId = userId;
}
});
}
///URL Scheme
-(BOOL)application:(UIApplication *)app openURL:(NSURL *)url options:(NSDictionary<NSString *,id> *)options{
NSString *bundleID = [[[NSBundle mainBundle] infoDictionary] objectForKey:@"CFBundleIdentifier"];
if ([url.scheme isEqualToString:[NSString stringWithFormat:@"line3rdp.%@",bundleID]]) {
return [PILineLoginManager applicationOpenurl:app open:url];
}
NSString *text = [url query];
if(text.length){
@@ -133,6 +181,12 @@ UIKIT_EXTERN NSString * const kOpenRoomNotification;
[[NSNotificationCenter defaultCenter]postNotificationName:kOpenRoomNotification object:nil userInfo:@{@"type":@"kOpenChat",@"uid":uid}];
ClientConfig *config = [ClientConfig shareConfig];
config.chatId = uid;
}else if (type == 8){
NSString *inviteCode = paramsDict[@"inviteCode"];
if (inviteCode != nil && [[AccountInfoStorage instance]getUid].length == 0){
ClientConfig *config = [ClientConfig shareConfig];
config.inviteCode = inviteCode;
}
}
return YES;
}

View File

@@ -5,12 +5,12 @@
"scale" : "1x"
},
{
"filename" : "room_gift_banner_high_bg@2x.png",
"filename" : "mine_give_diamond_search@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "room_gift_banner_high_bg@3x.png",
"filename" : "mine_give_diamond_search@3x.png",
"idiom" : "universal",
"scale" : "3x"
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

View File

@@ -0,0 +1,22 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "mine_noble_center_tag_diamond@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "mine_noble_center_tag_diamond@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 724 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

@@ -0,0 +1,22 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "mine_noble_center_tag_title_bg@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "mine_noble_center_tag_title_bg@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

View File

@@ -1,16 +1,15 @@
{
"images" : [
{
"filename" : "noble_privilege_list_bg.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "noble_privilege_list_bg@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "noble_privilege_list_bg@3x.png",
"idiom" : "universal",
"scale" : "3x"
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 110 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 70 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 129 KiB

View File

@@ -0,0 +1,22 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "noble_privilege_list_left_icon@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "noble_privilege_list_left_icon@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

View File

@@ -0,0 +1,22 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "noble_privilege_list_noble_icon@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "noble_privilege_list_noble_icon@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

View File

@@ -0,0 +1,22 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "noble_privilege_list_rebate_icon@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "noble_privilege_list_rebate_icon@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

View File

@@ -0,0 +1,22 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "noble_privilege_list_rigth_icon@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "noble_privilege_list_rigth_icon@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

View File

@@ -5,12 +5,12 @@
"scale" : "1x"
},
{
"filename" : "room_gift_banner_low_bg@2x.png",
"filename" : "pi_gift_diamond_add@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "room_gift_banner_low_bg@3x.png",
"filename" : "pi_gift_diamond_add@3x.png",
"idiom" : "universal",
"scale" : "3x"
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 156 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 207 B

View File

@@ -5,12 +5,12 @@
"scale" : "1x"
},
{
"filename" : "room_menu_send_bg@2x.png",
"filename" : "pi_gift_gold@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "room_menu_send_bg@3x.png",
"filename" : "pi_gift_gold@3x.png",
"idiom" : "universal",
"scale" : "3x"
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

View File

@@ -5,12 +5,12 @@
"scale" : "1x"
},
{
"filename" : "room_gift_banner_middle_bg@2x.png",
"filename" : "room_gift_super_gift_icon@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "room_gift_banner_middle_bg@3x.png",
"filename" : "room_gift_super_gift_icon@3x.png",
"idiom" : "universal",
"scale" : "3x"
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.8 KiB

View File

@@ -0,0 +1,6 @@
{
"info" : {
"author" : "xcode",
"version" : 1
}
}

View File

@@ -0,0 +1,22 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "pi_webView_code_bottom@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "pi_webView_code_bottom@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

View File

@@ -0,0 +1,22 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "pi_webView_code_btn_bg@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "pi_webView_code_btn_bg@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.9 KiB

View File

@@ -0,0 +1,22 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "pi_webView_code_code_text@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "pi_webView_code_code_text@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

View File

@@ -0,0 +1,22 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "pi_webView_code_top@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "pi_webView_code_top@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 67 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 138 KiB

View File

@@ -0,0 +1,22 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "pi_webView_code_top_text@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "pi_webView_code_top_text@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.9 KiB

View File

@@ -0,0 +1,22 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "share_save_icon@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "share_save_icon@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 665 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@@ -0,0 +1,21 @@
{
"images" : [
{
"filename" : "room_across_pk_assist.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"idiom" : "universal",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

View File

@@ -0,0 +1,21 @@
{
"images" : [
{
"filename" : "room_across_pk_onlookers.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"idiom" : "universal",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

View File

@@ -0,0 +1,22 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "pi_room_activity_click_arrow@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "pi_room_activity_click_arrow@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 297 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 394 B

View File

@@ -0,0 +1,22 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "pi_room_activity_choose_play_arrow@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "pi_room_activity_choose_play_arrow@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 296 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 397 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.3 KiB

After

Width:  |  Height:  |  Size: 5.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 9.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.5 KiB

After

Width:  |  Height:  |  Size: 5.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 9.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.4 KiB

After

Width:  |  Height:  |  Size: 5.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 9.8 KiB

View File

@@ -0,0 +1,22 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "room_candy_two_hundredth_tap_bg@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "room_candy_two_hundredth_tap_bg@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.4 KiB

View File

@@ -0,0 +1,22 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "pi_new_gift_first_recharge_bg@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "pi_new_gift_first_recharge_bg@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 764 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

@@ -0,0 +1,21 @@
{
"images" : [
{
"filename" : "pi_room_menu_bottom_send_bg.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"idiom" : "universal",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 715 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 74 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 50 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 63 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 26 KiB

After

Width:  |  Height:  |  Size: 29 KiB

View File

@@ -9,7 +9,7 @@
#import "ClientDataModel.h"
NS_ASSUME_NONNULL_BEGIN
@interface ClientConfig : NSObject
@interface ClientConfig : PIBaseModel
+ (instancetype)shareConfig;
///初始化
- (void)clientInit;
@@ -29,6 +29,10 @@ NS_ASSUME_NONNULL_BEGIN
@property (nonatomic, copy) NSString *__nullable roomId;
///用户id用于外部h5跳转到聊天页面
@property (nonatomic, copy) NSString *__nullable chatId;
///用户id推送跳转到聊天页面
@property (nonatomic, copy) NSString *__nullable pushChatId;
///邀请码,从外面进来会进入注册页面,并自动填写这个邀请码
@property(nonatomic,copy) NSString *inviteCode;
///表情---
@property (nonatomic, copy) NSString *version;
@property (nonatomic, copy) NSString *zipMd5;

View File

@@ -37,12 +37,35 @@
}
- (void)clientInit {
self.canOpen = NO;
#ifdef DEBUG
self.canOpen = YES;
#else
if(isEnterprise == YES){
self.canOpen = NO;
}else{
self.canOpen = YES;
}
#endif
[Api clientInitConfig:^(BaseModel * _Nullable data, NSInteger code, NSString * _Nullable msg) {
if (code == 200) {
self.retryCount = 0;
NSDictionary * initData = data.data;
self.canOpen = ![initData[@"aModel"] boolValue];
#ifdef DEBUG
self.canOpen = ![initData[@"aModel"] boolValue];
#else
if(isEnterprise == YES){
self.canOpen = ![initData[@"aModel"] boolValue];
}else{
self.canOpen = YES;
}
#endif
self.iosPhoneBind = [initData[@"iosPhoneBind"] boolValue];
//
self.openCandyTree = [initData[@"openBoxSwitch"] boolValue];

View File

@@ -16,7 +16,7 @@ typedef NS_ENUM(NSInteger, FaceLivenessStrategy) {
FaceLivenessStrategy_Guide = 2,
};
@interface ClientDataModel : NSObject
@interface ClientDataModel : PIBaseModel
///首页tag 配置
@property (nonatomic,strong) NSArray<NSString *> *homeTabList;
///房间表情的数据

View File

@@ -11,7 +11,7 @@ NS_ASSUME_NONNULL_BEGIN
//@class
@interface ClientRedPacketModel : NSObject
@interface ClientRedPacketModel : PIBaseModel
///红包开关
@property (nonatomic, assign) BOOL open;

View File

@@ -15,7 +15,7 @@ typedef NS_ENUM(NSInteger, SplashInfoSkipType) {
SplashInfoSkipTypeWeb = 3,
};
@interface AdvertiseModel : NSObject<NSCopying>
@interface AdvertiseModel : PIBaseModel<NSCopying>
@property (nonatomic, strong) NSString *link;
@property (nonatomic, assign) SplashInfoSkipType type;// 1跳app页面2跳聊天室3跳h5页面
@property (nonatomic, copy) NSString *pict;

View File

@@ -9,7 +9,7 @@
#import "AdvertiseModel.h"
NS_ASSUME_NONNULL_BEGIN
@interface XPAdImageTool : NSObject
@interface XPAdImageTool : PIBaseModel
+ (instancetype)shareImageTool;
///是否登录成功im

View File

@@ -9,7 +9,7 @@
#import <UIKit/UIKit.h>
@interface QExtendBoardItemModel : NSObject
@interface QExtendBoardItemModel : PIBaseModel
/**
* Cell图片

View File

@@ -76,10 +76,10 @@
self.numberLabel.hidden = !imageInfo.isSelect;
self.chooseButton.selected = imageInfo.isSelect;
if (!imageInfo.originImage) {
[[TZImageManager manager] getPhotoWithAsset:imageInfo.assetInfo.asset photoWidth:200 completion:^(UIImage *photo, NSDictionary *info, BOOL isDegraded) {
[[TZImageManager manager] getPhotoWithAsset:imageInfo.assetInfo.asset completion:^(UIImage *photo, NSDictionary *info, BOOL isDegraded) {
self.logoImageView.image = photo;
self.imageInfo.originImage = photo;
UIImage * image = [photo compressWithMaxLength:1024 * 10];
UIImage * image = [photo compressWithMaxLength:1024 * 30];
self.imageInfo.compressImage = image;
} progressHandler:nil networkAccessAllowed:NO];
} else {

View File

@@ -9,7 +9,7 @@
#import <TZImagePickerController/TZImagePickerController.h>
NS_ASSUME_NONNULL_BEGIN
@interface QPhotoImageModel : NSObject
@interface QPhotoImageModel : PIBaseModel
///是否选中
@property (nonatomic,assign) BOOL isSelect;
///是否是原图

Some files were not shown because too many files have changed in this diff Show More