rabin 1 year ago
parent
commit
fe60eba1e0
2 changed files with 1 additions and 3 deletions
  1. 1 1
      database/info.php
  2. 0 2
      index.php

+ 1 - 1
database/info.php

@@ -79,7 +79,7 @@ return array
 			'name' 		=> '上级分类',
 			'default' 	=> Dever::input('option_info', -1),
 			'desc' 		=> '请选择上级分类',
-			'match' 	=> 'is_string',
+			'match' 	=> 'option',
 			'update'	=> 'linkage',
 			'linkage' 	=> 'id=' . Dever::input('where_id'),
 			'option'	=> Dever::url('api.get', 'category'),

+ 0 - 2
index.php

@@ -5,6 +5,4 @@ define('DEVER_APP_LANG', '分类管理');
 define('DEVER_APP_PATH', dirname(__FILE__) . DIRECTORY_SEPARATOR);
 define('DEVER_MANAGE_ORDER', 10);
 define('DEVER_MANAGE_ICON', 'glyphicon glyphicon-credit-card layui-icon-templeate-1');
-define('DEVER_GROUP_ORDER', -12);
-define('DEVER_GROUP_NAME', '电商管理');
 include(DEVER_APP_PATH . '../boot.php');