Add SceneGalleryPreviews

This commit is contained in:
seven332 committed 2016-02-04 20:17:18 +08:00
1 parent cac0aedc42
commit 6d58477f37
24 files changed
+1282 -33

No files matched your search

@@ -33,9 +33,10 @@ public class EhUrl {
public static String getGalleryDetailUrl(int gid, String token, int index) {
StringBuilder sb = new StringBuilder(HOST_EX);
sb.append("g/").append(gid).append('/').append(token);
// TODO set hc 1 or 0
sb.append("g/").append(gid).append('/').append(token).append("/?hc=1");
if (index != 0) {
sb.append("/?p=").append(index);
sb.append("&p=").append(index);
}
return sb.toString();
}