rabin 1 yıl önce
ebeveyn
işleme
be9a3cb728
1 değiştirilmiş dosya ile 9 ekleme ve 13 silme
  1. 9 13
      database/user.php

+ 9 - 13
database/user.php

@@ -9,20 +9,16 @@ $option = array
 
 $button = array();
 $list_button = Dever::config('base', 'project')->passport_list_button;
-
-if (Dever::project('score')) {
-	/*
-	$button += array
+if (!$list_button) {
+	$list_button = array();
+}
+if (Dever::project('account')) {
+	$list_button += array
 	(
-		'用户积分列表' => array('list', 'user&project=score&oper_parent=user&oper_project=passport'),
-		'用户等级列表' => array('list', 'user_level&project=score&oper_parent=user&oper_project=passport'),
+		'list99' => array('钱包', '"info&project=account&config_key=qianbao&search_option_uid={id}&oper_parent=user&oper_project=passport"'),
 	);
-	*/
-
-	if (!$list_button) {
-		$list_button = array();
-	}
-
+}
+if (Dever::project('score')) {
 	$list_button += array
 	(
 		'list100' => array('积分', '"user&project=score&search_option_uid={id}&oper_parent=user&oper_project=passport"'),
@@ -410,7 +406,7 @@ return array
             'desc'      => '钱包余额',
             'match'     => 'is_string',
             //'update'    => 'text',
-            'list'      => true,
+            //'list'      => true,
         ),
 
 		'score'		=> array