【类 型】:

【原  因】:
【过  程】:
【影  响】:
This commit is contained in:
air 2025-06-16 23:16:04 +08:00
parent 6507855e89
commit 956c25b154

View File

@ -555,6 +555,7 @@ class PlaneController extends PublicController
*/
public function getNoflyData()
{
if ($_REQUEST['shop_id']) {
if ($this->tokenShop_id != C('powerId')) { // 非总管理员
$where['shop_id'] = $this->tokenShop_id;
} else {
@ -580,6 +581,9 @@ class PlaneController extends PublicController
echo json_encode(array('status' => 0, 'msg' => '创建禁飞区记录失败'));
}
}
} else {
echo json_encode(array('status' => 0, 'msg' => '参数有误'));
}
}
/**
* @description: 飞机在站点上注册航线或注销航线 并处理对应的订单 ps:用处理事务 保证两表同步