lvhao 8 hours ago
parent
commit
bffae21603
1 changed files with 2 additions and 0 deletions
  1. 2 0
      core/CoreApp/controllers/Beihuogl.php

+ 2 - 0
core/CoreApp/controllers/Beihuogl.php

@@ -261,6 +261,7 @@ class Beihuogl extends Start_Controller {
             $time = time();
             if(empty($data['yqwc_time'])){
                 echo json_encode(['code'=>-1,'msg'=>'预期完工事时间为填写']);
+                 die;
             }
             foreach($data['title'] as $k=>$v){
                 $insert_arr[] = [
@@ -432,6 +433,7 @@ class Beihuogl extends Start_Controller {
 
             if(empty($data['yqwc_time'])){
                 echo json_encode(['code'=>-1,'msg'=>'预期完工事时间为填写']);
+                die;
             }
             $r = $this->bhsq->save($update_arr,$id);
             if($r){