1
This commit is contained in:
parent
5d4c0b186c
commit
8b42dd3d04
@ -1198,6 +1198,7 @@ CREATE TABLE `t_bc_order` (
|
|||||||
`order_type` int(11) NOT NULL COMMENT '0:默认',
|
`order_type` int(11) NOT NULL COMMENT '0:默认',
|
||||||
`account_id` varchar(60) NOT NULL COMMENT '账户id 只用做事后分析用',
|
`account_id` varchar(60) NOT NULL COMMENT '账户id 只用做事后分析用',
|
||||||
`address` varchar(60) COMMENT 'address',
|
`address` varchar(60) COMMENT 'address',
|
||||||
|
`currency_name` varchar(60) NOT NULL COMMENT 'currency_name',
|
||||||
`status` int(11) NOT NULL DEFAULT '0' COMMENT '0: 支付中 1: 已发货',
|
`status` int(11) NOT NULL DEFAULT '0' COMMENT '0: 支付中 1: 已发货',
|
||||||
`item_id` int(11) NOT NULL COMMENT '道具id',
|
`item_id` int(11) NOT NULL COMMENT '道具id',
|
||||||
`item_num` bigint NOT NULL DEFAULT '0' COMMENT '道具数量',
|
`item_num` bigint NOT NULL DEFAULT '0' COMMENT '道具数量',
|
||||||
|
@ -71,7 +71,8 @@ CREATE TABLE `t_hash_rate_reward` (
|
|||||||
KEY `account_id` (`account_id`)
|
KEY `account_id` (`account_id`)
|
||||||
) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=utf8;
|
) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=utf8;
|
||||||
|
|
||||||
|
alter table t_bc_order add column `currency_name` varchar(60) NOT NULL COMMENT 'currency_name';
|
||||||
|
|
||||||
insert into version (version) values(2023081601);
|
insert into version (version) values(2023081601);
|
||||||
|
|
||||||
commit;
|
commit;
|
||||||
|
@ -343,6 +343,7 @@ class BlockChainController extends BaseAuthedController {
|
|||||||
'item_num' => $itemCount,
|
'item_num' => $itemCount,
|
||||||
'order_type' => BcOrder::SPEC_ORDER_TYPE,
|
'order_type' => BcOrder::SPEC_ORDER_TYPE,
|
||||||
'price' => $num,
|
'price' => $num,
|
||||||
|
'currency_name' => $currency,
|
||||||
'ext_data' => json_encode(array(
|
'ext_data' => json_encode(array(
|
||||||
'mode' => BcOrder::SHOP_BUY_MODE_NORMAL,
|
'mode' => BcOrder::SHOP_BUY_MODE_NORMAL,
|
||||||
)),
|
)),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user