1
This commit is contained in:
parent
e9023cb978
commit
4d0018157c
@ -599,10 +599,12 @@ class BaseAuthedController extends BaseController {
|
|||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
{
|
{
|
||||||
$this->_addLog('additems', 'invalid_item', array(
|
$this->_addLogEx($this->_getAccountId(),
|
||||||
'param1' => $item['item_id'],
|
'additems', 'invalid_item',
|
||||||
'param2' => $item['item_num'],
|
array(
|
||||||
));
|
'param1' => $item['item_id'],
|
||||||
|
'param2' => $item['item_num'],
|
||||||
|
));
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@ -759,26 +761,6 @@ class BaseAuthedController extends BaseController {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function _addLog($type, $subtype, $params)
|
|
||||||
{
|
|
||||||
$fieldsKv = array(
|
|
||||||
'account_id' => $this->_getAccountId(),
|
|
||||||
'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()->_getSelfMysql(),
|
|
||||||
't_game_log',
|
|
||||||
$fieldsKv
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
public function _getV($x, $y, $defVal = 0)
|
public function _getV($x, $y, $defVal = 0)
|
||||||
{
|
{
|
||||||
return DynData::getV($x, $y, $defVal);
|
return DynData::getV($x, $y, $defVal);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user