|
@@ -123,12 +123,13 @@ NSString *const new_AesKey_1 = @"mGlAgnIBB8bx2nch";
|
|
|
|
|
|
-(void)webViewFirstRequest
|
|
|
{
|
|
|
- NSString *url = [NSString stringWithFormat:@"%@%@", kHost, @"jyapp/free/index"];
|
|
|
+ //去时间戳-拼接
|
|
|
+ NSString *url = [NSString stringWithFormat:@"%@jyapp/free/index?deviceid=%@", kHost, [LXUserDefaults getDeviceID]];
|
|
|
NSString *token = [LXUserDefaults token];
|
|
|
if ([LXUserDefaults isExistToken]) {
|
|
|
url = [url stringByAppendingString:[NSString stringWithFormat:@"?sign=%@&url=/jyapp/jylab/mainSearch&from=restart", token]];
|
|
|
}
|
|
|
- NSLog(@"111 :第一次加载:%@",url);
|
|
|
+// NSLog(@"111 :第一次加载:%@",url);
|
|
|
url = [url stringByAddingPercentEncodingWithAllowedCharacters:[NSCharacterSet URLQueryAllowedCharacterSet]];
|
|
|
|
|
|
kMainQueue(^{
|
|
@@ -490,7 +491,6 @@ NSString *const new_AesKey_1 = @"mGlAgnIBB8bx2nch";
|
|
|
//监听购买结果
|
|
|
[[SKPaymentQueue defaultQueue] addTransactionObserver:self];
|
|
|
|
|
|
-
|
|
|
|
|
|
}
|
|
|
|