dever 3 年之前
父節點
當前提交
b8a594417f
共有 1 個文件被更改,包括 12 次插入0 次删除
  1. 12 0
      database/author.php

+ 12 - 0
database/author.php

@@ -34,6 +34,18 @@ return array
 			'search'	=> 'fulltext',
 			'search'	=> 'fulltext',
 			'list'		=> true,
 			'list'		=> true,
 		),
 		),
+
+		'avatar'     => array
+        (
+            'type'      => 'varchar-150',
+            'name'      => '作者头像-图片尺寸150*150px或等比尺寸,上传大小不能超过2M,支持JPG、PNG、GIF格式,建议上传JPG格式',
+            'default'   => '',
+            'desc'      => '作者头像',
+            'match'     => 'option',
+            'update'    => 'image',
+            'key'       => '1',
+            'place'     => '150*150',
+        ),
 		
 		
 		'reorder'		=> array
 		'reorder'		=> array
 		(
 		(