|
@@ -80,13 +80,13 @@ return array
|
|
|
|
|
|
'score' => array
|
|
|
(
|
|
|
- 'type' => 'varchar-80',
|
|
|
+ 'type' => 'int-11',
|
|
|
'name' => '积分',
|
|
|
'default' => '',
|
|
|
'desc' => '积分',
|
|
|
'match' => 'option',
|
|
|
'update' => 'text',
|
|
|
- 'order' => 'asc',
|
|
|
+ 'order' => 'desc',
|
|
|
'list' => true,
|
|
|
),
|
|
|
|
|
@@ -119,6 +119,17 @@ return array
|
|
|
'delete' => false,
|
|
|
),
|
|
|
|
|
|
+
|
|
|
+ 'alter' => array
|
|
|
+ (
|
|
|
+ 1 => array
|
|
|
+ (
|
|
|
+ array('update', 'score', 'score', 'int-11 0 积分'),
|
|
|
+
|
|
|
+ ),
|
|
|
+ 'version' => 1,
|
|
|
+ ),
|
|
|
+
|
|
|
|
|
|
'request' => array
|
|
|
(
|
|
@@ -132,7 +143,7 @@ return array
|
|
|
'state' => 1,
|
|
|
),
|
|
|
'type' => 'all',
|
|
|
- 'order' => array('score' => 'asc','id' => 'desc'),
|
|
|
+ 'order' => array('score' => 'desc','id' => 'desc'),
|
|
|
'page' => array(10, 'list'),
|
|
|
'col' => '*',
|
|
|
),
|