1
This commit is contained in:
parent
3e7e8da49b
commit
cf8121f6dd
2
third_party/phpcommon
vendored
2
third_party/phpcommon
vendored
@ -1 +1 @@
|
||||
Subproject commit e2a4c1c276fc98ce01cb1af8b0b98323d9f4e2c3
|
||||
Subproject commit eeeac90264e4cd3d4de575d9ad504cacd85cb288
|
@ -284,7 +284,6 @@ class MarketController extends BaseController {
|
||||
$orderId = BuyRecord::genOrderId($gameId,
|
||||
$funcId,
|
||||
myself()->_getNowTime(),
|
||||
$itemMeta['nft_image_id'],
|
||||
$buyerAddress);
|
||||
$tokenId = $orderId;
|
||||
$tokenType = 0;
|
||||
|
@ -10,7 +10,7 @@ use phpcommon\SqlHelper;
|
||||
|
||||
class BuyRecord extends BaseModel {
|
||||
|
||||
public static function genOrderId($gameId, $funcId, $time, $imgIdx, $buyerAddress)
|
||||
public static function genOrderId($gameId, $funcId, $time, $buyerAddress)
|
||||
{
|
||||
SqlHelper::insert
|
||||
(myself()->_getMarketMysql(),
|
||||
@ -29,7 +29,7 @@ class BuyRecord extends BaseModel {
|
||||
'errmsg' => 'server internal error'
|
||||
)));
|
||||
}
|
||||
$orderId = phpcommon\genOrderId($gameId, $funcId, $time, $lastIdx, $imgIdx);
|
||||
$orderId = phpcommon\genOrderId($gameId, $funcId, $time, $lastIdx);
|
||||
if (!phpcommon\isValidOrderId($orderId)) {
|
||||
die(json_encode(array(
|
||||
'errcode' => 500,
|
||||
|
Loading…
x
Reference in New Issue
Block a user