누락 된 image 가져오기 파일 추가

파일 누락으로 인해 마루마루에서 만화 사진을 가져올 수 없었던 문제 해결.
This commit is contained in:
hakasenyang
2017-01-06 08:56:01 +09:00
parent dff8eb0056
commit ffe079d7c5
+4 -3
View File
@@ -1621,16 +1621,17 @@ exports.default = {
getImageList: function getImageList(mangaId, title, href) { getImageList: function getImageList(mangaId, title, href) {
_jquery2.default.get({ _jquery2.default.get({
url: config.apiUrl + "/images.php", url: config.apiUrl + "/index.php",
data: { data: {
href: href num: href,
json: 1
}, },
success: function success(data) { success: function success(data) {
if (typeof data == "string") { if (typeof data == "string") {
data = JSON.parse(data); data = JSON.parse(data);
} }
_ApiActionCreators2.default.receiveImageList(mangaId, title, data.images); _ApiActionCreators2.default.receiveImageList(mangaId, title, data.url);
} }
}); });
} }