【类 型】:fix 站点表航线锁定操作失败时 错误提示
【原 因】:不应该时提示成功 【过 程】:删掉退出提示成功那一行 不用提示 报异常等事务回滚就行 【影 响】:
This commit is contained in:
parent
4a5e41ec64
commit
4eb9be8e49
@ -573,7 +573,6 @@ class PlaneController extends PublicController
|
||||
// 如果 $_REQUEST['runing'] 为空字符串 或者null,将其设置为 null
|
||||
$data['runing'] = trim($_REQUEST['runing']) === '' ? null : trim($_REQUEST['runing']);
|
||||
if (!$rsDb->where($where)->save($data)) {
|
||||
exit(json_encode(array('status' => 1, 'msg' => '站点航线执行操作成功!')));
|
||||
throw new Exception('站点航线执行操作失败!');
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user