|
@@ -464,16 +464,17 @@ const _getArticlePre = (id, appType) => { |
|
@@ -464,16 +464,17 @@ const _getArticlePre = (id, appType) => { |
464
|
console.log(result.message);
|
464
|
console.log(result.message);
|
465
|
if (result && result.code === 200) {
|
465
|
if (result && result.code === 200) {
|
466
|
let perArticle = {};
|
466
|
let perArticle = {};
|
467
|
- let id = result.data.articleIdPre;
|
467
|
+
|
|
|
468
|
+ // let id = result.data.articleIdPre;
|
468
|
|
469
|
|
469
|
perArticle.href = `${config.siteUrl}/editorial/${result.data.articleIdPre}.html`;
|
470
|
perArticle.href = `${config.siteUrl}/editorial/${result.data.articleIdPre}.html`;
|
470
|
- console.log()
|
|
|
471
|
- _getHeadData(id, appType).then((list) => {
|
|
|
472
|
- console.log(list)
|
471
|
+
|
|
|
472
|
+ _getHeadData(result.data.articleIdPre, appType).then((list) => {
|
|
|
473
|
+ console.log(list);
|
473
|
perArticle.lastChapter = list.title;
|
474
|
perArticle.lastChapter = list.title;
|
474
|
|
475
|
|
475
|
}).then(() => {
|
476
|
}).then(() => {
|
476
|
- console.log(perArticle)
|
477
|
+ console.log(perArticle);
|
477
|
return perArticle;
|
478
|
return perArticle;
|
478
|
});
|
479
|
});
|
479
|
|
480
|
|