dever 6 år sedan
förälder
incheckning
cb805a90d6
2 ändrade filer med 2 tillägg och 2 borttagningar
  1. 1 1
      act/database/score.php
  2. 1 1
      act/lib/Score.php

+ 1 - 1
act/database/score.php

@@ -119,7 +119,7 @@ return array
 		'delete' => false,
 		'button' => array
 		(
-			'导出排行榜' => array('location', 'act/lib/score.out'),
+			'导出排行榜' => array('location', 'act/lib/score.out?id=' . Dever::input('search_option_data_id')),
 		),
 	),
 

+ 1 - 1
act/lib/Score.php

@@ -89,7 +89,7 @@ class Score
      *
      * @return mixed
      */
-    public function out()
+    public function out_api()
     {
         $id = Dever::input('id');
         $journal = Dever::db('journal/info')->one($id);