请求增加idfv

This commit is contained in:
zeng 2025-07-19 15:55:12 +08:00
parent ab478455fd
commit b02f655fb1
3 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -15,6 +15,6 @@
/** /**
app后 app后
*/ */
+ (nonnull NSString *)systemUUID; + (nonnull NSString *)idfv;
@end @end

View File

@ -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;
} }