debug
This commit is contained in:
@@ -202,17 +202,17 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
const strNovelId = `{$arrNovel.n_id}`;
|
const strNovelId = `{$arrNovel.n_id}`;
|
||||||
const arrNovel = {
|
const arrNovel = {
|
||||||
'n_id' : `{$arrNovel['n_id']}`,
|
'n_id' : `{$arrNovel['n_id']}`,
|
||||||
'og_novel_pin_yin' : `{$arrNovel['og_novel_pin_yin']}`,
|
'og_novel_pin_yin' : `{$arrNovel['og_novel_pin_yin']}`,
|
||||||
'n_cover_path' : `{$arrNovel['n_cover_path']}`,
|
'n_cover_path' : `{$arrNovel['n_cover_path']}`,
|
||||||
'og_novel_book_name' : `{$arrNovel['og_novel_book_name']}`,
|
'og_novel_book_name' : `{$arrNovel['og_novel_book_name']}`,
|
||||||
'og_novel_author' : `{$arrNovel['og_novel_author']}`,
|
'og_novel_author' : `{$arrNovel['og_novel_author']}`,
|
||||||
'og_novel_status' : `{$arrNovel['og_novel_status']}`,
|
'og_novel_status' : `{$arrNovel['og_novel_status']}`,
|
||||||
'og_novel_update_time' : `{$arrNovel['og_novel_update_time']}`,
|
'og_novel_update_time' : `{$arrNovel['og_novel_update_time']}`,
|
||||||
'c_sort_num' : 1,
|
'c_sort_num' : 1,
|
||||||
'c_name' : `第一章`,
|
'c_name' : `第一章`,
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
{/block}
|
{/block}
|
||||||
|
|
||||||
|
|||||||
@@ -380,6 +380,7 @@ function displayHistory() {
|
|||||||
|
|
||||||
// 方法1:使用 fetch API
|
// 方法1:使用 fetch API
|
||||||
async function reportStats(data) {
|
async function reportStats(data) {
|
||||||
|
console.log(strPushApi)
|
||||||
try {
|
try {
|
||||||
const response = await fetch(strPushApi+'/publish', {
|
const response = await fetch(strPushApi+'/publish', {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
|
|||||||
Reference in New Issue
Block a user