1
This commit is contained in:
parent
be3e757306
commit
e9023cb978
@ -48,6 +48,26 @@ class LogService extends BaseService
|
|||||||
TGLog::writeToLog(self::PRONAME, self::GAMEID, $data);
|
TGLog::writeToLog(self::PRONAME, self::GAMEID, $data);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static function addGameLogEx($accountId, $type, $subtype, $params)
|
||||||
|
{
|
||||||
|
$fieldsKv = array(
|
||||||
|
'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 static function burialPointEvent($event){
|
public static function burialPointEvent($event){
|
||||||
$logInfo = self::ItemRecord();
|
$logInfo = self::ItemRecord();
|
||||||
$logInfo['properties'] = $event;
|
$logInfo['properties'] = $event;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user