【类 型】:

【原  因】:
【过  程】:
【影  响】:
This commit is contained in:
air 2025-06-18 18:07:48 +08:00
parent 417d0dbd2f
commit 5e18cd260f

View File

@ -569,7 +569,7 @@ class PlaneController extends PublicController
$where['shop_id'] = $shop_id; $where['shop_id'] = $shop_id;
$noflyDb = D('nofly'); $noflyDb = D('nofly');
$field = ['id', 'shop_id', 'nofly_data', 'restrictfly_data']; $field = ['id', 'shop_id', 'nofly_data', 'restrictfly_data', 'restrictfly_height'];
$noflyData = $noflyDb->where($where)->field($field)->find(); $noflyData = $noflyDb->where($where)->field($field)->find();
if ($noflyData) { if ($noflyData) {
@ -579,7 +579,8 @@ class PlaneController extends PublicController
$data = [ $data = [
'shop_id' => $shop_id, 'shop_id' => $shop_id,
'nofly_data' => '[]', 'nofly_data' => '[]',
'restrictfly_data' => '[]' 'restrictfly_data' => '[]',
'restrictfly_height' => '[]'
]; ];
$insertId = $noflyDb->add($data); $insertId = $noflyDb->add($data);
if ($insertId) { if ($insertId) {