This commit is contained in:
aozhiwei 2023-08-22 16:12:23 +08:00
parent 5d4c0b186c
commit 8b42dd3d04
3 changed files with 4 additions and 1 deletions

View File

@ -1198,6 +1198,7 @@ CREATE TABLE `t_bc_order` (
`order_type` int(11) NOT NULL COMMENT '0:默认',
`account_id` varchar(60) NOT NULL COMMENT '账户id 只用做事后分析用',
`address` varchar(60) COMMENT 'address',
`currency_name` varchar(60) NOT NULL COMMENT 'currency_name',
`status` int(11) NOT NULL DEFAULT '0' COMMENT '0: 支付中 1 已发货',
`item_id` int(11) NOT NULL COMMENT '道具id',
`item_num` bigint NOT NULL DEFAULT '0' COMMENT '道具数量',

View File

@ -71,6 +71,7 @@ CREATE TABLE `t_hash_rate_reward` (
KEY `account_id` (`account_id`)
) 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);

View File

@ -343,6 +343,7 @@ class BlockChainController extends BaseAuthedController {
'item_num' => $itemCount,
'order_type' => BcOrder::SPEC_ORDER_TYPE,
'price' => $num,
'currency_name' => $currency,
'ext_data' => json_encode(array(
'mode' => BcOrder::SHOP_BUY_MODE_NORMAL,
)),