Merge branch 'james_bc' of git.kingsome.cn:server/game2006api into james_bc

This commit is contained in:
hujiabin 2022-11-09 21:09:37 +08:00
commit 73068a1833
2 changed files with 4 additions and 1 deletions

View File

@ -782,6 +782,7 @@ CREATE TABLE `t_transaction` (
`item_uniid` bigint NOT NULL DEFAULT '0' COMMENT '道具uniid',
`item_id` int(11) NOT NULL DEFAULT '0' COMMENT '道具id',
`status` int(11) NOT NULL DEFAULT '0' COMMENT 'status',
`client_confirmed` int(11) NOT NULL DEFAULT '0' COMMENT 'client_confirmed',
`client_result` mediumblob COMMENT 'client_result',
`createtime` int(11) NOT NULL DEFAULT '0' COMMENT '创建时间',
`modifytime` int(11) NOT NULL DEFAULT '0' COMMENT '修改时间',

View File

@ -26,7 +26,8 @@ class Transaction extends BaseModel {
myself()->_getSelfMysql(),
't_transaction',
array(
'account_id' => myself()->_getAccountId()
'account_id' => myself()->_getAccountId(),
'client_confirmed' => 1
)
);
return $rows;
@ -143,6 +144,7 @@ class Transaction extends BaseModel {
),
array(
'client_result' => $result,
'client_confirmed' => 1,
'modifytime' => myself()->_getNowTime()
)
);