b1
This commit is contained in:
parent
5ae75c45b5
commit
12dc9253a1
@ -54,6 +54,7 @@ CREATE TABLE `t_box_order` (
|
|||||||
`payment_token_address` varchar(60) NOT NULL DEFAULT '' COMMENT '货币地址',
|
`payment_token_address` varchar(60) NOT NULL DEFAULT '' COMMENT '货币地址',
|
||||||
`nonce` varchar(60) NOT NULL DEFAULT '' COMMENT 'nonce',
|
`nonce` varchar(60) NOT NULL DEFAULT '' COMMENT 'nonce',
|
||||||
`signature` varchar(255) NOT NULL DEFAULT '' COMMENT '签名',
|
`signature` varchar(255) NOT NULL DEFAULT '' COMMENT '签名',
|
||||||
|
`net_id` varchar(60) NOT NULL DEFAULT '' COMMENT 'net_id',
|
||||||
`bc_paid` int(11) NOT NULL DEFAULT '0' COMMENT '是否已支付',
|
`bc_paid` int(11) NOT NULL DEFAULT '0' COMMENT '是否已支付',
|
||||||
`bc_pay_count` int(11) NOT NULL DEFAULT '0' COMMENT '支付次数',
|
`bc_pay_count` int(11) NOT NULL DEFAULT '0' COMMENT '支付次数',
|
||||||
`bc_pay_time` int(11) NOT NULL DEFAULT '0' COMMENT '本节点最后一次支付时间',
|
`bc_pay_time` int(11) NOT NULL DEFAULT '0' COMMENT '本节点最后一次支付时间',
|
||||||
|
@ -93,6 +93,7 @@ class MarketController extends BaseController {
|
|||||||
$paymentTokenAddress = getReqVal('payment_token_address', '');
|
$paymentTokenAddress = getReqVal('payment_token_address', '');
|
||||||
$nonce = getReqVal('nonce', '');
|
$nonce = getReqVal('nonce', '');
|
||||||
$signature = getReqVal('signature', '');
|
$signature = getReqVal('signature', '');
|
||||||
|
$netId = getReqVal('net_id', '');
|
||||||
$gameId = 2006;
|
$gameId = 2006;
|
||||||
$funcId = MarketService::FUNCID_PRESALE;
|
$funcId = MarketService::FUNCID_PRESALE;
|
||||||
if (!MarketService::isValidToken($buyerAddress, $token)) {
|
if (!MarketService::isValidToken($buyerAddress, $token)) {
|
||||||
@ -201,6 +202,7 @@ class MarketController extends BaseController {
|
|||||||
'payment_token_address' => $paymentTokenAddress,
|
'payment_token_address' => $paymentTokenAddress,
|
||||||
'nonce' => $nonce,
|
'nonce' => $nonce,
|
||||||
'signature' => $signature,
|
'signature' => $signature,
|
||||||
|
'net_id' => $netId,
|
||||||
'done' => 0,
|
'done' => 0,
|
||||||
'createtime' => myself()->_getNowTime(),
|
'createtime' => myself()->_getNowTime(),
|
||||||
'modifytime' => myself()->_getNowTime()
|
'modifytime' => myself()->_getNowTime()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user