Commit f117c3f1 authored by zhu's avatar zhu

Merge branch 'DEV_20150805_001' of http://121.42.32.57/root/xffruit into DEV_20150805_001

Conflicts:
	XFFruit/AppDelegate/ICRAppDelegate.m
parents 3e58fda4 af4a4c56
......@@ -135,13 +135,14 @@
}
}else{
[IBTLoadingView showProgressLabel:@"暂无新版本"];
[self performSelector:@selector(scale_2) withObject:nil afterDelay:1.5f];
}
}
}
}
-(void)scale_2
......
......@@ -87,7 +87,9 @@ typedef enum : NSUInteger {
NSString *message = data[@"message"] ;
if (success == 1) {
NSString *dataStr = data[@"data"];
NSString *urlStr = [NSString stringWithFormat:@"%@/DisplayChart?filename=%@",@"http://122.224.171.126:7280/cruiser-server",dataStr];
NSRange range = [HTTP_REST_API_BASE_URL rangeOfString:@"rest"];
NSString *serverURl = [HTTP_REST_API_BASE_URL substringToIndex:range.location];
NSString *urlStr = [NSString stringWithFormat:@"%@DisplayChart?filename=%@",serverURl,dataStr];
[_chartImageView sd_setImageWithURL:[NSURL URLWithString:urlStr]];
}else{
[IBTLoadingView showTips:message];
......
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