debug
This commit is contained in:
@@ -167,14 +167,14 @@ EOT;
|
||||
public function tagInfo($tag)
|
||||
{
|
||||
$n_id = $tag['n_id'] ?? '0';
|
||||
$c_sort_num = $tag['c_sort_num'] ?? 0;
|
||||
$c_page = $tag['c_page'] ?? 0;
|
||||
$c_sort_num = !isset($tag['c_sort_num']) ? $tag['c_sort_num'] : 0;
|
||||
$c_page = !isset($tag['c_page']) ? $tag['c_page'] : 0;
|
||||
$c_key = $tag['c_key'] ?? 'arrChapter';
|
||||
|
||||
$n_id = $this->customBuildVar($n_id);
|
||||
$c_sort_num = $this->customBuildVar($c_sort_num);
|
||||
$c_page = $this->customBuildVar($c_page);
|
||||
|
||||
|
||||
$strParse = <<<EOT
|
||||
<?php
|
||||
\$arrChapter = app(\\app\\services\\ChapterService::class)->getChapterInfo(
|
||||
|
||||
@@ -10,7 +10,7 @@ class Novel extends TagLib
|
||||
'list' => ['attr' => 'count,n_category,sort_type,n_status,n_sex,diff_key,cache_life,d_key,d_val', 'close' => 1],
|
||||
'pager' => ['attr' => 'page,limit,n_category,sort_type,n_status,n_sex,key,diff_key,cache_life,d_key,d_val,p_val,func,export_name', 'close' => 1],
|
||||
'pagerexp' => ['attr' => 'page,limit,n_category,sort_type,n_status,n_sex,key,diff_key,cache_life,d_key,d_val,p_val,func,export_name', 'close' => 0],
|
||||
'info' => ['attr' => 'n_id,n_key', 'close' => 0],
|
||||
'info' => ['attr' => 'n_id,n_forge_id,n_key', 'close' => 0],
|
||||
'sort' => ['attr' => 'd_key,d_val'],
|
||||
'status' => ['attr' => 'd_key,d_val'],
|
||||
'sex' => ['attr' => 'd_key,d_val'],
|
||||
@@ -245,12 +245,13 @@ EOT;
|
||||
public function tagInfo($tag)
|
||||
{
|
||||
$n_id = $tag['n_id'] ?? '0';
|
||||
$n_forge_id = $tag['n_forge_id'] ?? 0;
|
||||
$n_forge_id = isset($tag['n_forge_id']) ? $tag['n_forge_id'] : 0;
|
||||
|
||||
$n_key = $tag['n_key'] ?? 'arrNovel';
|
||||
|
||||
$n_id = $this->customBuildVar($n_id);
|
||||
|
||||
$n_forge_id = $this->customBuildVar($n_forge_id);
|
||||
|
||||
$strParse = <<<EOT
|
||||
<?php
|
||||
\$novelData = app(\\app\\services\\NovelService::class)->getNovelByNId(
|
||||
|
||||
Reference in New Issue
Block a user