diff --git a/webapp/services/LogService.php b/webapp/services/LogService.php index a663bc9b..5f1ace76 100644 --- a/webapp/services/LogService.php +++ b/webapp/services/LogService.php @@ -153,8 +153,14 @@ class LogService extends BaseService ); return $info; } - private static function goldRecord($account_id) + private static function goldRecord($params = []) { + if (isset($params['account_id']) && !empty($params['account_id'])) { + $account_id = $params['account_id']; + } else { + $account_id = myself()->_getAccountId(); + } + // $logInfo['log_class'] = $logInfo['log_class']; // unset($logInfo['log_class']); $data = array(