This commit is contained in:
make
2025-04-07 10:19:45 +08:00
parent ddbf53bd2b
commit 6017bff14e
2 changed files with 12 additions and 11 deletions

View File

@@ -202,17 +202,17 @@
<script>
const strNovelId = `{$arrNovel.n_id}`;
const arrNovel = {
'n_id' : `{$arrNovel['n_id']}`,
'og_novel_pin_yin' : `{$arrNovel['og_novel_pin_yin']}`,
'n_cover_path' : `{$arrNovel['n_cover_path']}`,
'og_novel_book_name' : `{$arrNovel['og_novel_book_name']}`,
'og_novel_author' : `{$arrNovel['og_novel_author']}`,
'og_novel_status' : `{$arrNovel['og_novel_status']}`,
'og_novel_update_time' : `{$arrNovel['og_novel_update_time']}`,
'c_sort_num' : 1,
'c_name' : `第一章`,
};
const arrNovel = {
'n_id' : `{$arrNovel['n_id']}`,
'og_novel_pin_yin' : `{$arrNovel['og_novel_pin_yin']}`,
'n_cover_path' : `{$arrNovel['n_cover_path']}`,
'og_novel_book_name' : `{$arrNovel['og_novel_book_name']}`,
'og_novel_author' : `{$arrNovel['og_novel_author']}`,
'og_novel_status' : `{$arrNovel['og_novel_status']}`,
'og_novel_update_time' : `{$arrNovel['og_novel_update_time']}`,
'c_sort_num' : 1,
'c_name' : `第一章`,
};
</script>
{/block}

View File

@@ -380,6 +380,7 @@ function displayHistory() {
// 方法1使用 fetch API
async function reportStats(data) {
console.log(strPushApi)
try {
const response = await fetch(strPushApi+'/publish', {
method: 'POST',