This commit is contained in:
aozhiwei 2022-01-29 10:20:05 +08:00
parent dbeed9c9c0
commit 5cdb3ab667
2 changed files with 2 additions and 2 deletions

View File

@ -48,7 +48,7 @@ CREATE TABLE `t_box_order` (
`suspend_reason` mediumblob COMMENT '挂起原因',
`buyer_address` varchar(60) NOT NULL DEFAULT '' COMMENT '购买者',
`token_id` varchar(60) NOT NULL DEFAULT '' COMMENT 'token_id',
`price` bigint NOT NULL DEFAULT '0' COMMENT '价格',
`price` varchar(60) NOT NULL DEFAULT '' COMMENT 'price',
`payment_token_address` varchar(60) NOT NULL DEFAULT '' COMMENT '货币地址',
`nonce` varchar(60) NOT NULL DEFAULT '' COMMENT 'nonce',
`signature` varchar(255) NOT NULL DEFAULT '' COMMENT '签名',

View File

@ -126,7 +126,7 @@ class MarketController extends BaseController {
{
$type = getReqVal('type', '');
$buyerAddress = getReqVal('buyer_address', '');
$price = hexdec(getReqVal('price', ''));
$price = getReqVal('price', '');
$paymentTokenAddress = getReqVal('payment_token_address', '');
$nonce = getReqVal('nonce', '');
$signature = getReqVal('signature', '');