office_service.php 367 B

1234567891011121314151617181920212223
  1. <?php
  2. class office_service {
  3. private $category;
  4. function __construct() {
  5. Doo::loadModel ( 'cld/category_cld' );
  6. $this->category = new category_cld ();
  7. }
  8. // 获得所有办事处
  9. public function GetAll() {
  10. $list = $this->category->GetAll ();
  11. return $list;
  12. }
  13. public function Get(){
  14. $list = $this->category->GetAll ();
  15. return $list;
  16. }
  17. }
  18. ?>