Cate.php 220 B

123456789101112131415
  1. <?php
  2. namespace Content\Lib;
  3. use Dever;
  4. class Cate
  5. {
  6. # 获取信息
  7. public function getInfo()
  8. {
  9. $id = Dever::input('cid');
  10. return Dever::db('content/cate')->find($id);
  11. }
  12. }