linwu 1 年之前
父节点
当前提交
cd5b9dbb99
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/mobile/controller/Emp.php

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

@@ -81,7 +81,7 @@ class Emp extends EmpBaseController
      */
     public function apply()
     {
-        $comjobs = ComJobsModel::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();
         array_unshift($comjobs, ['text' => '全部岗位', 'value' => 0]);
         return view('emp/apply', [
             'comjobs'   => json_encode($comjobs),