Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
L
LuckFarm
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lmj
LuckFarm
Commits
2da0d055
Commit
2da0d055
authored
Nov 13, 2020
by
Mazy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix big bugs
parent
97564e65
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
7 deletions
+7
-7
AppDelegate.mm
GYDemo/GYDemo/AppDelegate.mm
+3
-3
IOSADManager.m
GYDemo/GYDemo/SCAds/IOSADManager.m
+4
-4
UserInterfaceState.xcuserstate
...cuserdata/mazy.xcuserdatad/UserInterfaceState.xcuserstate
+0
-0
No files found.
GYDemo/GYDemo/AppDelegate.mm
View file @
2da0d055
...
...
@@ -601,10 +601,10 @@ NSDictionary* appLaunchOpts;
GYCashSixAwardAlertView *alertVC = [GYCashSixAwardAlertView loadFromNib];
[alertVC showAlertToView:[[self ufw] appController].window amount:num firstShow: true onlyCash:false];
//
WEAKSELF
WEAKSELF
alertVC.closeCallBack = ^(bool result) {
if (result) {
[
s
elf gainMultipleAward: sid];
[
weakS
elf gainMultipleAward: sid];
} else {
// 取消播放领取
[[CGNetworkTools shared] postWithAction: adForcePost parameters:@{} success:^(id _Nonnull response) {
...
...
@@ -630,7 +630,7 @@ NSDictionary* appLaunchOpts;
NSDictionary *result = [[response objectForKey:@"result"] objectForKey:@"data"];
NSArray *rewardContentList = [result objectForKey:@"rewardContentList"];
if (rewardContentList){
if (rewardContentList
== nil
){
return;
}
if (rewardContentList.count <= 0) {
...
...
GYDemo/GYDemo/SCAds/IOSADManager.m
View file @
2da0d055
...
...
@@ -254,7 +254,7 @@ static IOSADManager * manager = nil;
[
weakSelf
blockResultLoadWithData
:
model
andSuccess
:
success
];
};
csjAd
.
showSuccessCallbackBlock
=
^
(
GYAdsTrackModel
*
_Nonnull
model
,
BOOL
success
)
{
[
weakSelf
blockResultShowWithData
:
model
andSuccess
:
YES
];
[
weakSelf
blockResultShowWithData
:
model
andSuccess
:
success
];
};
dispatch_after
(
dispatch_time
(
DISPATCH_TIME_NOW
,
(
int64_t
)(
time
*
NSEC_PER_SEC
)),
dispatch_get_main_queue
(),
^
{
...
...
@@ -277,7 +277,7 @@ static IOSADManager * manager = nil;
[
weakSelf
blockResultLoadWithData
:
model
andSuccess
:
success
];
};
csjAd
.
showSuccessCallbackBlock
=
^
(
GYAdsTrackModel
*
_Nonnull
model
,
BOOL
success
)
{
[
weakSelf
blockResultShowWithData
:
model
andSuccess
:
YES
];
[
weakSelf
blockResultShowWithData
:
model
andSuccess
:
success
];
};
}
...
...
@@ -298,7 +298,7 @@ static IOSADManager * manager = nil;
[
weakSelf
blockResultLoadWithData
:
model
andSuccess
:
success
];
};
csjAd
.
showSuccessCallbackBlock
=
^
(
GYAdsTrackModel
*
_Nonnull
model
,
BOOL
success
)
{
[
weakSelf
blockResultShowWithData
:
model
andSuccess
:
YES
];
[
weakSelf
blockResultShowWithData
:
model
andSuccess
:
success
];
};
}
...
...
@@ -318,7 +318,7 @@ static IOSADManager * manager = nil;
[
weakSelf
blockResultLoadWithData
:
model
andSuccess
:
success
];
};
csjAd
.
showSuccessCallbackBlock
=
^
(
GYAdsTrackModel
*
_Nonnull
model
,
BOOL
success
)
{
[
weakSelf
blockResultShowWithData
:
model
andSuccess
:
YES
];
[
weakSelf
blockResultShowWithData
:
model
andSuccess
:
success
];
};
...
...
farm.xcworkspace/xcuserdata/mazy.xcuserdatad/UserInterfaceState.xcuserstate
View file @
2da0d055
No preview for this file type
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment