dever 3 years ago
parent
commit
b8a594417f
1 changed files with 12 additions and 0 deletions
  1. 12 0
      database/author.php

+ 12 - 0
database/author.php

@@ -34,6 +34,18 @@ return array
 			'search'	=> 'fulltext',
 			'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
 		(