|
@@ -20,6 +20,22 @@ class TalentTypeChange extends EnterpriseController {
|
|
|
}
|
|
|
|
|
|
public function list(){
|
|
|
+ $type = $this->user["type"];
|
|
|
+ $tpl = "";
|
|
|
+ switch ($type) {
|
|
|
+ case 1:
|
|
|
+ $tpl = "apply"; //晋江人才
|
|
|
+ break;
|
|
|
+ case 2:
|
|
|
+ $tpl = "ic_apply"; //集成电路
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ $param = $this->request->param();
|
|
|
+ $order = trim($param["order"]) ?: "desc";
|
|
|
+ $offset = trim($param["offset"]) ?: 0;
|
|
|
+ $limit = trim($param["limit"]) ?: 10;
|
|
|
+ $where[] = ["enterprise_id", "=", session("user")["uid"]];
|
|
|
+
|
|
|
|
|
|
}
|
|
|
}
|