diff --git a/src/main/java/org/ntlab/acanthus_server/resources/gallery/StrokesRest.java b/src/main/java/org/ntlab/acanthus_server/resources/gallery/StrokesRest.java index d4b1f41..5707ef5 100644 --- a/src/main/java/org/ntlab/acanthus_server/resources/gallery/StrokesRest.java +++ b/src/main/java/org/ntlab/acanthus_server/resources/gallery/StrokesRest.java @@ -89,7 +89,10 @@ return "OK!"; } + + // _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ // 画像URLを返す + // @PathParam Integer aid 作品のID @Path("/{aid}/images") @GET @Produces(MediaType.APPLICATION_JSON) @@ -99,7 +102,7 @@ HashMap pageUrl = new HashMap<>(); for (Page p : pages) { - String url = "http://nitta-lab-www.is.konan-u.ac.jp/gallery/" + aid + "/" + p.getPid() + "/a" + aid + "p" + p.getPid() + ".png"; + String url = "http://nitta-lab-www.is.konan-u.ac.jp/gallery/" + aid + "/" + p.getPageNo() + "/a" + aid + "p" + p.getPageNo() + ".png"; pageUrl.put(p.getPageNo(), url); }