酒店预订平台
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

45 lines
745 B

  1. <?php
  2. /**
  3. * Created by PhpStorm.
  4. * User: nizongfeng
  5. * Date: 2021/11/23
  6. * Time: 17:23
  7. */
  8. namespace app\admin\service;
  9. use app\admin\dao\CfItemDao;
  10. class CfItemService
  11. {
  12. /**
  13. * 获取列表
  14. * @param $param
  15. * @return array
  16. */
  17. public function getList($param){
  18. $dao = new CfItemDao();
  19. return $dao->getList($param);
  20. }
  21. /**
  22. * 保存记录
  23. * @param $param
  24. * @return array
  25. */
  26. public function save($param){
  27. $dao = new CfItemDao();
  28. return $dao->save($param);
  29. }
  30. /**
  31. * 删除记录
  32. * @param $param
  33. * @return array
  34. */
  35. public function del($param){
  36. $dao = new CfItemDao();
  37. return $dao->del($param['id']);
  38. }
  39. }