TalentWorkUnitChange.php 851 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. <?php
  2. namespace app\enterprise\controller;
  3. use app\enterprise\common\EnterpriseController;
  4. use app\enterprise\api\TalentApi;
  5. use app\common\api\DictApi;
  6. use app\common\api\VerifyApi;
  7. /**
  8. * Description of TalentWorkUnitChange
  9. *
  10. * @author sgq
  11. */
  12. class TalentWorkUnitChange extends EnterpriseController {
  13. public function index() {
  14. return view("", ["type" => $this->user["type"]]);
  15. }
  16. public function list() {
  17. $type = $this->user["type"];
  18. $param = $this->request->param();
  19. $order = trim($param["order"]) ?: "desc";
  20. $offset = trim($param["offset"]) ?: 0;
  21. $limit = trim($param["limit"]) ?: 10;
  22. $where[] = ["enterprise_id", "=", session("user")["uid"]];
  23. }
  24. public function apply() {
  25. return view();
  26. }
  27. public function view() {
  28. return view();
  29. }
  30. }