Label.php 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. <?php
  2. // +—————————————————————————————————————————————————————————————————————
  3. // | Created by Yunbao
  4. // +—————————————————————————————————————————————————————————————————————
  5. // | Copyright (c) 2013~2022 http://www.yunbaokj.com All rights reserved.
  6. // +—————————————————————————————————————————————————————————————————————
  7. // | Author: https://gitee.com/yunbaokeji
  8. // +—————————————————————————————————————————————————————————————————————
  9. // | Date: 2022-04-30
  10. // +—————————————————————————————————————————————————————————————————————
  11. class Domain_Label {
  12. public function getList() {
  13. $rs = array();
  14. $model = new Model_Label();
  15. $rs = $model->getList();
  16. return $rs;
  17. }
  18. public function searchLabel($key,$p) {
  19. $rs = array();
  20. $model = new Model_Label();
  21. $rs = $model->searchLabel($key,$p);
  22. return $rs;
  23. }
  24. public function getLabel($id) {
  25. $rs = array();
  26. $model = new Model_Label();
  27. $rs = $model->getLabel($id);
  28. return $rs;
  29. }
  30. public function getVideos($labelid) {
  31. $rs = array();
  32. $model = new Model_Label();
  33. $rs = $model->getVideos($labelid);
  34. return $rs;
  35. }
  36. }