Commit 923ce3e7 authored by Mazy's avatar Mazy

change source

parent ec896092
......@@ -45,7 +45,7 @@
</connections>
</button>
<stackView opaque="NO" contentMode="scaleToFill" spacing="4" translatesAutoresizingMaskIntoConstraints="NO" id="Dnt-Dm-Z8f">
<rect key="frame" x="47.333333333333329" y="200.33333333333331" width="240.33333333333337" height="36"/>
<rect key="frame" x="47" y="200.33333333333331" width="241" height="36"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="获得翻倍奖励" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="zxy-Fc-ho1">
<rect key="frame" x="0.0" y="0.0" width="128.33333333333334" height="36"/>
......@@ -53,14 +53,14 @@
<color key="textColor" red="0.56470588235294117" green="0.36078431372549019" blue="0.15686274509803921" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="+2.09" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="MRv-Ar-Cpc">
<rect key="frame" x="132.33333333333334" y="0.0" width="82.333333333333343" height="36"/>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="+0.00" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="MRv-Ar-Cpc">
<rect key="frame" x="132.33333333333331" y="0.0" width="83" height="36"/>
<fontDescription key="fontDescription" type="system" weight="medium" pointSize="30"/>
<color key="textColor" red="0.91764705879999997" green="0.31764705879999999" blue="0.2901960784" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="元" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="TGu-2Q-UAs">
<rect key="frame" x="218.66666666666669" y="0.0" width="21.666666666666657" height="36"/>
<rect key="frame" x="219.33333333333331" y="0.0" width="21.666666666666657" height="36"/>
<fontDescription key="fontDescription" type="system" pointSize="21"/>
<color key="textColor" red="0.56470588239999997" green="0.36078431370000003" blue="0.15686274510000001" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
......
......@@ -626,7 +626,7 @@ NSDictionary* appLaunchOpts;
[[IOSADManager shareADManager] showADType:ADType_Video resultBlock:^(BOOL success) {
if (success) {
[[CGNetworkTools shared] postWithAction:awardMultiple parameters:@{@"sid": sid} success:^(id _Nonnull response) {
NSLog(@"%@", response);
if ([[response objectForKey:@"status"] integerValue] == 200) {
NSDictionary *result = [[response objectForKey:@"result"] objectForKey:@"data"];
......
......@@ -349,7 +349,7 @@ static CGNetworkTools* _tools = nil;
[dict setValue: [[[NSBundle mainBundle] infoDictionary] objectForKey:@"CFBundleVersion"] forKey: @"vc"];
[dict setValue: [[[NSBundle mainBundle] infoDictionary] objectForKey:@"CFBundleShortVersionString"] forKey: @"vn"];
[dict setValue: @"ios" forKey: @"platform"];
[dict setValue: @"AppStore" forKey: @"source"];
[dict setValue: @"behavior" forKey: @"module"];
// UID
Data *data = [[Data alloc] init];
......@@ -360,8 +360,10 @@ static CGNetworkTools* _tools = nil;
//source
if ([[data Read] objectForKey:@"source"]) {
[dict setValue: [[data Read] objectForKey:@"source"] forKey: @"source"];
} else {
[dict setValue: @"AppStore" forKey: @"source"];
}
[dict setValue: [[data Read] objectForKey:@"common"] forKey: @"source"];
// [dict setValue: @"common" forKey: @"source"];
NSString *uid = [[data Read] objectForKey:@"uid"];
if (uid != nil) { [dict setValue: uid forKey: @"uid"]; }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment