rabin 2 years ago
parent
commit
4fde0ee0b8
1 changed files with 16 additions and 0 deletions
  1. 16 0
      service/setting/database/base.php

+ 16 - 0
service/setting/database/base.php

@@ -10,6 +10,11 @@ $type = array
     1 => '开放中',
     2 => '维护中',
 );
+$active = array
+(
+	1 => '显示',
+	2 => '不显示',
+);
 return array
 (
 	# 表名
@@ -144,6 +149,17 @@ return array
 			'update'	=> 'textarea',
 		),
 
+		'active'   => array
+        (
+            'type'      => 'int-11',
+            'name'      => '是否显示活动',
+            'default'   => '1',
+            'desc'      => '是否显示活动',
+            'match'     => 'is_numeric',
+            'update'  	=> 'radio',
+            'option'    => $active,
+        ),
+
 		// 'market_desc'      => array
   //       (
   //           'type'      => 'text-255',