松诺换水闪退修改
This commit is contained in:
parent
6ff388623c
commit
3d80cf1dd9
|
|
@ -318,7 +318,11 @@ methodType url : (NSString *)url
|
|||
success:(void (^)(id response))success
|
||||
failure:(void (^)(NSError* err))failure
|
||||
{
|
||||
|
||||
if ([deviceId isKindOfClass:[NSNumber class]])
|
||||
{
|
||||
NSString*devid=[NSString stringWithFormat:@"%@",deviceId];
|
||||
deviceId=devid;
|
||||
}
|
||||
NSString*macid=[[deviceId componentsSeparatedByString:@"_"] firstObject];
|
||||
|
||||
NSString*deviceType=[[deviceId componentsSeparatedByString:@"_"] lastObject];
|
||||
|
|
|
|||
Loading…
Reference in New Issue