请求增加idfv
This commit is contained in:
parent
ab478455fd
commit
b02f655fb1
@ -90,7 +90,7 @@ extension SPApi: TargetType {
|
|||||||
"system-type" : "ios",
|
"system-type" : "ios",
|
||||||
"idfa" : SPAPPTool.getIdfa(),
|
"idfa" : SPAPPTool.getIdfa(),
|
||||||
"model" : UIDevice.sp_machineModelName(),
|
"model" : UIDevice.sp_machineModelName(),
|
||||||
// "security" : "false",
|
"device-gaid" : JXUUID.idfv()
|
||||||
]
|
]
|
||||||
//登录信息
|
//登录信息
|
||||||
dic["authorization"] = userToken
|
dic["authorization"] = userToken
|
||||||
|
2
ThimraTV/Thirdparty/JXUUID/JXUUID.h
vendored
2
ThimraTV/Thirdparty/JXUUID/JXUUID.h
vendored
@ -15,6 +15,6 @@
|
|||||||
/**
|
/**
|
||||||
重新安装app后,会发生变化
|
重新安装app后,会发生变化
|
||||||
*/
|
*/
|
||||||
+ (nonnull NSString *)systemUUID;
|
+ (nonnull NSString *)idfv;
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
2
ThimraTV/Thirdparty/JXUUID/JXUUID.m
vendored
2
ThimraTV/Thirdparty/JXUUID/JXUUID.m
vendored
@ -39,7 +39,7 @@ static NSString *const uuidKey = @"com.JXUUID";
|
|||||||
return idfa;
|
return idfa;
|
||||||
}
|
}
|
||||||
|
|
||||||
+ (nonnull NSString *)systemUUID
|
+ (nonnull NSString *)idfv
|
||||||
{
|
{
|
||||||
return [UIDevice currentDevice].identifierForVendor.UUIDString;
|
return [UIDevice currentDevice].identifierForVendor.UUIDString;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user