内容模型功能完成

This commit is contained in:
2020-04-01 22:20:11 +08:00
parent 85d33da0d4
commit 9dafceb2eb
32 changed files with 415 additions and 339 deletions

View File

@@ -20,7 +20,7 @@ class Link extends \think\Model {
public static $keyList = [
['name' => 'id', 'title' => 'ID', 'type' => 'hidden'],
['name' => 'title', 'title' => '友链标题', 'type' => 'text', 'help' => ''],
['name' => 'url', 'title' => 'URL链接', 'type' => 'text', 'help' => ''],
['name' => 'url', 'title' => 'URL链接', 'type' => 'text', 'help' => '连接格式如https://www.tensent.cn'],
['name' => 'ftype', 'title' => '友链类别', 'type' => 'select', 'option' => [
['key'=>'1', 'label' => '常用链接'],
['key'=>'2', 'label' => '网站导读'],