小bug调整
This commit is contained in:
@@ -333,6 +333,7 @@ class Production extends Base
|
||||
}
|
||||
$insert['content'] = $data['content'];
|
||||
$insert['width'] = $data['width'];
|
||||
$insert['title'] = $data['title'];
|
||||
$insert['note'] = $data['note'];
|
||||
$this->production_article_main_img_obj->insert($insert);
|
||||
return jsonSuccess([]);
|
||||
@@ -378,6 +379,7 @@ class Production extends Base
|
||||
}
|
||||
$update['width']=$data['width'];
|
||||
$update['content']=$data['content'];
|
||||
$update['title'] = $data['title'];
|
||||
$update['note'] = $data['note'];
|
||||
$this->production_article_main_img_obj->where('p_main_img_id',$data['p_main_img_id'])->update($update);
|
||||
return jsonSuccess([]);
|
||||
|
||||
Reference in New Issue
Block a user