mirror of
https://github.com/hakasenyang/marumaru-php-parser
synced 2026-08-22 02:03:08 +09:00
누락 된 image 가져오기 파일 추가
파일 누락으로 인해 마루마루에서 만화 사진을 가져올 수 없었던 문제 해결.
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user