DataLogic.php 464 B

123456789101112131415161718192021222324252627
  1. <?php
  2. namespace app\api\logic;
  3. use app\common\model\EngageTypeModel;
  4. /**
  5. * 获取项目相关数据
  6. *
  7. * @author wj
  8. * @date 2022-12-09
  9. */
  10. class DataLogic
  11. {
  12. /**
  13. * 获取招聘类型列表
  14. *
  15. * @return void
  16. * @author wj
  17. * @date 2022-12-09
  18. */
  19. public function getetlist()
  20. {
  21. $m_et = new EngageTypeModel();
  22. $list = $m_et->getList();
  23. return backarr(1, '查询成功', $list, 1, 0, 'id asc');
  24. }
  25. }