invoke($invoke['class'], $invoke['method'], $params); if(!empty($return)){ break; } } catch (\Exception $e) { \Yii::error('全局调用(OrderPayTriggerEventGlobal)出错:' . $invoke['class'] . '->' . $invoke['method'] . 'msg:' . $e->getMessage()); continue; } } return $return; } /** * 验证调用结果 * @param [type] $return * @return boolean */ protected function validateDoTrigger($return = null): bool { return true; } }