mirror of
https://gitee.com/koogua/course-tencent-cloud.git
synced 2025-06-24 12:05:39 +08:00
xs.article.ini加入忽略
This commit is contained in:
parent
9173a1974d
commit
8fdf9a77df
@ -113,7 +113,7 @@ class Article extends Model
|
|||||||
*
|
*
|
||||||
* @var int
|
* @var int
|
||||||
*/
|
*/
|
||||||
public $allow_comment = 0;
|
public $allow_comment = 1;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 文字数
|
* 文字数
|
||||||
|
@ -48,7 +48,7 @@ class Help extends Model
|
|||||||
*
|
*
|
||||||
* @var int
|
* @var int
|
||||||
*/
|
*/
|
||||||
public $published = 1;
|
public $published = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 删除标识
|
* 删除标识
|
||||||
|
@ -34,7 +34,7 @@ class Page extends Model
|
|||||||
*
|
*
|
||||||
* @var int
|
* @var int
|
||||||
*/
|
*/
|
||||||
public $published = 1;
|
public $published = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 删除标识
|
* 删除标识
|
||||||
|
@ -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
|
|
@ -242,7 +242,7 @@ class Schema202103141300 extends Phinx\Migration\AbstractMigration
|
|||||||
'url' => '/flash/sale',
|
'url' => '/flash/sale',
|
||||||
'position' => 1,
|
'position' => 1,
|
||||||
'priority' => 100,
|
'priority' => 100,
|
||||||
'published' => 0,
|
'published' => 1,
|
||||||
'create_time' => time(),
|
'create_time' => time(),
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -825,7 +825,7 @@ final class V20210403184518 extends AbstractMigration
|
|||||||
'url' => '/article/list',
|
'url' => '/article/list',
|
||||||
'position' => 1,
|
'position' => 1,
|
||||||
'priority' => 100,
|
'priority' => 100,
|
||||||
'published' => 0,
|
'published' => 1,
|
||||||
'create_time' => time(),
|
'create_time' => time(),
|
||||||
];
|
];
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user