zoujiajian 2 years ago
parent
commit
cef2ed1f8f

+ 1 - 1
netflix-common/src/main/java/com/cyksj/common/constant/Constant.java

@@ -331,5 +331,5 @@ public interface Constant {
 	/**
 	 * 电影域名
 	 */
-	String ZHAOJU_MOVIES = "https://zhaoju666.com/8081/api";
+	String ZHAOJU_MOVIES = "https://zhaoju666.com";
 }

+ 4 - 2
netflix-service/src/main/java/com/cyksj/service/relation/impl/GroupsRelationNetflixServiceImpl.java

@@ -55,7 +55,7 @@ public class GroupsRelationNetflixServiceImpl implements GroupsRelationNetflixSe
 		params.putOpt("seat_num", seatNum);
 		params.putOpt("seat_time", expiryTime);
 		//设置座位
-		String url = Constant.ZHAOJU_MOVIES + "/netflix_seat";
+		String url = Constant.ZHAOJU_MOVIES + "/netflix_set/netflix_password_change";
 		try {
 			HttpResponse<String> res =
 					J11HttpC.custom()
@@ -75,7 +75,9 @@ public class GroupsRelationNetflixServiceImpl implements GroupsRelationNetflixSe
 		} catch (Exception e) {
 			log.error("设置用户:{}奈飞座位号错误,msg:{}", seatName, StringUtil.getErrorText(e));
 		}
-		return null;
+		JSONObject jsonObject = new JSONObject();
+		jsonObject.putOpt("status", 2);
+		return jsonObject;
 	}
 
 	@Override