|
@@ -602,7 +602,11 @@ public class GroupRelationFrontServiceImpl implements GroupRelationFrontService
|
|
|
String urlPref = "https://www.netflix.com/account/update-primary-location";
|
|
String urlPref = "https://www.netflix.com/account/update-primary-location";
|
|
|
code = StrUtil.subBetween(body, "[" + urlPref, "]");
|
|
code = StrUtil.subBetween(body, "[" + urlPref, "]");
|
|
|
if (StrUtil.isEmpty(code)) {
|
|
if (StrUtil.isEmpty(code)) {
|
|
|
- throw BusinessRuntimeException.getInstance("获取认证链接失败,请重新获取");
|
|
|
|
|
|
|
+ urlPref = "https://www.netflix.com/account/travel/verify";
|
|
|
|
|
+ code = StrUtil.subBetween(body, "[" + urlPref, "]");
|
|
|
|
|
+ if (StrUtil.isEmpty(code)) {
|
|
|
|
|
+ throw BusinessRuntimeException.getInstance("获取认证链接失败,请重新获取");
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
return urlPref + code;
|
|
return urlPref + code;
|
|
|
}
|
|
}
|