zoujiajian 2 лет назад
Родитель
Сommit
def20bf22d

+ 4 - 1
netflix-service/src/main/java/com/cyksj/service/relation/impl/GroupRelationFrontServiceImpl.java

@@ -745,8 +745,11 @@ public class GroupRelationFrontServiceImpl implements GroupRelationFrontService
 		String code = null;
 		String code = null;
 		//奈飞
 		//奈飞
 		if (goodsId == 1) {
 		if (goodsId == 1) {
-			if (body.contains("輸入此代碼登入")) {
+			if (body.contains("輸入此代碼登入") || body.contains("输入此代码登录")) {
 				code = StrUtil.subBetween(body, "輸入此代碼登入", "請在裝置上輸入上");
 				code = StrUtil.subBetween(body, "輸入此代碼登入", "請在裝置上輸入上");
+				if (StrUtil.isEmpty(code)) {
+					code = StrUtil.subAfter(body, "输入此代码登录", true);
+				}
 			} else {
 			} else {
 				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, "]");