配置订单

This commit is contained in:
xman 2025-03-27 17:32:06 +08:00
parent dc1c098acc
commit 2c9c5bd894

View File

@ -136,10 +136,11 @@ class Auditorder extends Backend
$result = $row->allowField(true)->save($params);
$params['order'] = $row;
$params['role'] = 1;
$params['auth'] = $this->auth;
Hook::listen('order_change',$params);
$hookParams['order'] = $row;
$hookParams['role'] = 1;
$hookParams['auth'] = $this->auth;
$hookParams['remark'] = $params['audit_remark'];
Hook::listen('order_change',$hookParams);
Db::commit();
} catch (ValidateException|PDOException|Exception $e) {