dever 4 vuotta sitten
vanhempi
commit
f5cc144e21
1 muutettua tiedostoa jossa 14 lisäystä ja 1 poistoa
  1. 14 1
      app/collection/database/times.php

+ 14 - 1
app/collection/database/times.php

@@ -52,7 +52,7 @@ return array
 		'year'		=> array
 		(
 			'type' 		=> 'int-11',
-			'name' 		=> '年份-影响当前时光下所有发布内容的时间,主线无需填写',
+			'name' 		=> '年份-影响当前时光下所有发布内容的时间',
 			'default' 	=> '',
 			'desc' 		=> '年份',
 			'match' 	=> 'is_numeric',
@@ -62,6 +62,19 @@ return array
 			'list'		=> true,
 		),
 
+		'end_year'		=> array
+		(
+			'type' 		=> 'int-11',
+			'name' 		=> '结束年份-如果年份是区间时,可以填写结束年份,上述年份就是开始年份,结束年份仅影响用户自行选择的年份',
+			'default' 	=> '',
+			'desc' 		=> '年份',
+			'match' 	=> 'option',
+			'update'    => $times_id < 0 ? 'hidden': 'year',
+			'search'	=> 'text',
+			'order'		=> 'desc',
+			'list'		=> true,
+		),
+
 		'times_id'		=> array
 		(
 			'type' 		=> 'int-11',