linwu %!s(int64=2) %!d(string=hai) anos
pai
achega
122068b96f
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      app/mobile/controller/Emp.php

+ 2 - 1
app/mobile/controller/Emp.php

@@ -81,7 +81,8 @@ class Emp extends EmpBaseController
      */
     public function apply()
     {
-        $comjobs = \app\common\model\ComJobs::field(['title as text', 'id as value'])->where('workerid', $this->worker->id)->where('status', '>', 2)->select()->toArray();
+//        $comjobs = \app\common\model\ComJobs::field(['title as text', 'id as value'])->where('workerid', $this->worker->id)->where('status', '>', 2)->select()->toArray();
+        $comjobs = [];
         array_unshift($comjobs, ['text' => '全部岗位', 'value' => 0]);
         return view('emp/apply', [
             'comjobs'   => json_encode($comjobs),