FamilyController.php 824 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. <?php
  2. namespace app\admin\controller\member;
  3. use app\admin\service\member\FamilyService;
  4. use app\controller\Curd;
  5. use app\model\Family;
  6. use support\Request;
  7. class FamilyController
  8. {
  9. public function list(Request $request)
  10. {
  11. $page = $request->get('page', 1);
  12. $pageSize = $request->get('pageSize', 20);
  13. $keywords = $request->get('keywords', '');
  14. return FamilyService::list($page, $pageSize, $keywords);
  15. }
  16. /**
  17. * @Desc 家庭列表
  18. * @Author Gorden
  19. * @Date 2024/3/6 10:59
  20. *
  21. * @param $memberId
  22. * @return \support\Response
  23. */
  24. public function selectList($memberId)
  25. {
  26. return FamilyService::selectList($memberId);
  27. }
  28. public function selectInfo($familyId)
  29. {
  30. return FamilyService::selectInfo($familyId);
  31. }
  32. }