This commit is contained in:
aozhiwei 2023-08-08 12:35:58 +08:00
parent 056e4f7995
commit 73b70d0ba7

View File

@ -23,7 +23,10 @@ class Market extends BaseModel {
} }
public static function add($orderId, $netId, $tokenId, $seller, $nftToken, public static function add($orderId, $netId, $tokenId, $seller, $nftToken,
$amount, $currency, $pirce) { $amount, $currency, $pirce, $fieldsKv) {
if (empty($fieldsKv)) {
$fieldsKv = array();
}
self::internalUpdate( self::internalUpdate(
$orderId, $orderId,
$netId, $netId,