|
@@ -365,12 +365,12 @@ public class AiBytedanceAdvertiserStrategyController {
|
|
// android 根据附件地址 读取 apk 信息
|
|
// android 根据附件地址 读取 apk 信息
|
|
map = ApkUtils.readAPK(urlPath);
|
|
map = ApkUtils.readAPK(urlPath);
|
|
if (!map.get("code").toString().equals("-1")){
|
|
if (!map.get("code").toString().equals("-1")){
|
|
- map.put("platform", "android");
|
|
|
|
|
|
+ map.put("platform", "APP_ANDROID");
|
|
}else {
|
|
}else {
|
|
//ios
|
|
//ios
|
|
map = ApkUtils.readIPA(urlPath);
|
|
map = ApkUtils.readIPA(urlPath);
|
|
if (!map.get("code").toString().equals("-1")){
|
|
if (!map.get("code").toString().equals("-1")){
|
|
- map.put("platform", "ios");
|
|
|
|
|
|
+ map.put("platform", "APP_IOS");
|
|
}
|
|
}
|
|
}
|
|
}
|
|
return Result.successMsg("根据下载链接获取应用包名成功", map);
|
|
return Result.successMsg("根据下载链接获取应用包名成功", map);
|