1
0
mirror of https://gitee.com/koogua/course-tencent-cloud.git synced 2025-06-23 20:00:27 +08:00

xs.article.ini加入忽略

This commit is contained in:
koogua 2021-04-10 15:08:04 +08:00
parent 9173a1974d
commit 8fdf9a77df
6 changed files with 5 additions and 56 deletions

View File

@ -113,7 +113,7 @@ class Article extends Model
*
* @var int
*/
public $allow_comment = 0;
public $allow_comment = 1;
/**
* 文字数

View File

@ -48,7 +48,7 @@ class Help extends Model
*
* @var int
*/
public $published = 1;
public $published = 0;
/**
* 删除标识

View File

@ -34,7 +34,7 @@ class Page extends Model
*
* @var int
*/
public $published = 1;
public $published = 0;
/**
* 删除标识

View File

@ -1,51 +0,0 @@
project.name = article
project.default_charset = UTF-8
server.index = 8383
server.search = 8384
[id]
type = id
[title]
type = title
[cover]
type = string
[summary]
type = body
[category_id]
type = string
index = self
tokenizer = full
[owner_id]
type = string
index = self
tokenizer = full
[create_time]
type = string
[tags]
type = string
[category]
type = string
[owner]
type = string
[view_count]
type = string
[comment_count]
type = string
[like_count]
type = string
[favorite_count]
type = string

View File

@ -242,7 +242,7 @@ class Schema202103141300 extends Phinx\Migration\AbstractMigration
'url' => '/flash/sale',
'position' => 1,
'priority' => 100,
'published' => 0,
'published' => 1,
'create_time' => time(),
];

View File

@ -825,7 +825,7 @@ final class V20210403184518 extends AbstractMigration
'url' => '/article/list',
'position' => 1,
'priority' => 100,
'published' => 0,
'published' => 1,
'create_time' => time(),
];