From 8642932b71c25e340c9b76d4432de77f9caeed36 Mon Sep 17 00:00:00 2001 From: chengkun <chengkun@ishangstudy.com> Date: Tue, 20 May 2025 17:11:58 +0800 Subject: [PATCH] 提交 --- app/model/job.model.php | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/app/model/job.model.php b/app/model/job.model.php index 5df8f76..8d5765a 100644 --- a/app/model/job.model.php +++ b/app/model/job.model.php @@ -1099,7 +1099,6 @@ $id = $data['id']; $uid = intval($data['uid']); - unset($post['com_id']); $spid = !empty($data['spid']) ? intval($data['spid']) : ''; @@ -1120,6 +1119,7 @@ $com = $this->select_once('company', array('uid' => $uid), '`uid`,`name`, `r_status`,`logo`,`provinceid`,`pr`,`mun`,`x`,`y`,`did`'); + if ($data['utype'] == 'admin') { //后台修改添加不需要审核 if ($post['r_status'] == 1) { @@ -1132,7 +1132,6 @@ // 查询企业认证是否认证成功 $companycert = $this->select_once('company_cert', array('uid' => $uid, 'type' => 3), '`uid`,`type`,`status`'); - // 在企业用户设置里企业发布职位审核未开启的情况下,未审核和未通过的企业,发布职位默认是未审核的。 if ($com['r_status'] != 1) { @@ -1228,7 +1227,7 @@ $this -> update_once('wxpub_twtask',array('jobname'=>$job_data['name'],'comname'=>$job_data['com_name']),array('jobid'=>$id)); $this -> update_once('fav_job',array('job_name'=>$job_data['name']),array('job_id'=>$id)); // 修改名企更新时间 - $this -> update_once('hot_job',array('lastupdate'=>time()),array('uid'=>$uid)); + $this -> update_once('hotjob',array('lastupdate'=>time()),array('uid'=>$uid)); } if ($data['utype'] != 'admin') { -- Gitblit v1.9.0