Statistics.php 657 B

1234567891011121314151617181920212223242526272829303132
  1. <?php
  2. namespace app\api\controller;
  3. use app\api\logic\StatisticsLogic;
  4. use think\Controller;
  5. /**
  6. * 套餐配送
  7. *
  8. * @author wj
  9. * @date 2022-12-03
  10. */
  11. class Statistics extends Controller
  12. {
  13. /**
  14. * 日间照料中心数据统计
  15. *
  16. * @return void
  17. * @author wj
  18. * @date 2023-01-31
  19. */
  20. public function getmealcenterlist()
  21. {
  22. $post = request()->post();
  23. $l_s = new StatisticsLogic();
  24. $result = $l_s->getmealcenterlist($post);
  25. if (empty($result['status'])) {
  26. return backjson2(0, $result['msg']);
  27. }
  28. return backjson2(200, $result['msg'], $result['data']);
  29. }
  30. }