This commit is contained in:
aozhiwei 2022-11-09 21:00:36 +08:00
parent 47da5c5ee7
commit 03bc96de72
2 changed files with 3 additions and 0 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

@ -40,6 +40,7 @@ class Transaction extends BaseModel {
array(
'account_id' => myself()->_getAccountId(),
'trans_id' => $transId,
'client_confirmed' => 1
)
);
return $row;
@ -143,6 +144,7 @@ class Transaction extends BaseModel {
),
array(
'client_result' => $result,
'client_confirmed' => 1,
'modifytime' => myself()->_getNowTime()
)
);