dever 6 years ago
parent
commit
37c15e9710
1 changed files with 16 additions and 0 deletions
  1. 16 0
      vip/database/config.php

+ 16 - 0
vip/database/config.php

@@ -12,6 +12,11 @@ $video = array
 	1 => '显示',
 	2 => '不显示',
 );
+$button = array
+(
+	1 => '显示',
+	2 => '不显示',
+);
 # 获取小刊分类权限
 $auth = Dever::tops();
 $cate = function() use ($auth)
@@ -112,6 +117,17 @@ return array
 			'place'		=> '150',
 		),
 
+		'button'		=> array
+		(
+			'type' 		=> 'int-11',
+			'name' 		=> '是否显示购买按钮-APP上是否显示购买按钮',
+			'default' 	=> '1',
+			'desc' 		=> '是否显示购买按钮',
+			'match' 	=> 'is_numeric',
+			'update'	=> 'radio',
+			'option'	=> $button,
+		),
+
 		'pic1'		=> array
 		(
 			'type' 		=> 'varchar-150',