This commit is contained in:
aozhiwei 2024-08-08 11:55:35 +08:00
parent bcd06d1275
commit 8276a8aa7d

View File

@ -240,22 +240,7 @@ class BaseController {
public function _addLogEx($accountId, $type, $subtype, $params) public function _addLogEx($accountId, $type, $subtype, $params)
{ {
$fieldsKv = array( myself()->_addLogEx($accountId, $type, $subtype, $params);
'account_id' => $accountId,
'type' => $type,
'subtype' => $subtype,
'param1' => getXVal($params, 'param1', ''),
'param2' => getXVal($params, 'param2', ''),
'param3' => getXVal($params, 'param3', ''),
'param4' => getXVal($params, 'param4', ''),
'createtime' => myself()->_getNowTime(),
'modifytime' => myself()->_getNowTime()
);
SqlHelper::insert(
myself()->_getMysql($accountId),
't_game_log',
$fieldsKv
);
} }
public function _getAccountIdByAddress($address) public function _getAccountIdByAddress($address)