Talent.php 461 B

12345678910111213141516171819202122232425262728
  1. <?php
  2. namespace app\enterprise\controller;
  3. use app\enterprise\common\EnterpriseController;
  4. use app\enterprise\api\TalentApi;
  5. /**
  6. * Description of Talent
  7. *
  8. * @author sgq
  9. */
  10. class Talent extends EnterpriseController {
  11. public function index() {
  12. return view();
  13. }
  14. public function list() {
  15. $res = TalentApi::getList($this->request);
  16. return json($res);
  17. }
  18. public function add(){
  19. return view();
  20. }
  21. }