Manage.php 332 B

12345678910111213141516171819
  1. <?php
  2. namespace Stat\Lib;
  3. use Dever;
  4. class Manage
  5. {
  6. public function info($id)
  7. {
  8. $id = Dever::input('search_option_journal_id');
  9. if ($id > 0) {
  10. $info = Dever::db('journal/info')->one($id);
  11. return $info['name'];
  12. } else {
  13. return '合计';
  14. }
  15. }
  16. }