1
This commit is contained in:
parent
4d0018157c
commit
bcd06d1275
@ -12,22 +12,7 @@ class ShopAddItemService
|
|||||||
{
|
{
|
||||||
public function addGameLog($address,$type, $subtype, $params){
|
public function addGameLog($address,$type, $subtype, $params){
|
||||||
$accountId = $this->getAccountId($address);
|
$accountId = $this->getAccountId($address);
|
||||||
$conn = myself()->_getMysql($address);
|
myself()->_addLogEx($accountId, $type, $subtype, $params);
|
||||||
SqlHelper::insert(
|
|
||||||
$conn,
|
|
||||||
't_game_log',
|
|
||||||
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()
|
|
||||||
)
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public function addItem($address,$itemId,$itemNum){
|
public function addItem($address,$itemId,$itemNum){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user