dever 6 年之前
父节点
当前提交
37c15e9710
共有 1 个文件被更改,包括 16 次插入0 次删除
  1. 16 0
      vip/database/config.php

+ 16 - 0
vip/database/config.php

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