invoke($invoke['class'], $invoke['method'], $params); $is_success = $this->validateInvokeReturn($params['invoke_id'], $withdral_cond); // 全局调用获取提现条件 if ($is_success) { $withdral_cond_list = array_merge($withdral_cond_list, $withdral_cond); } else { throw new \Exception('结果数据格式校验未通过'); } } catch (\Exception $e) { \Yii::error('全局调用(INVOKE_WITHDRAW_YUNFAST_PAY)出错:' . $invoke['class'] . '->' . $invoke['method'] . 'msg:' . $e->getMessage()); continue; } } return $withdral_cond_list; } /** * 验证 * @param mixed $return * @return boolean */ public function validateCheck($return = null) { return true; } /** * 验证调用结果 * @param mixed $return * @return boolean */ protected function validateWithDrawLimitCond($return = null): bool { return true; } }