From f86163c43eb00342087a2c9a88b6396c1f34e09e Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Wed, 14 Aug 2024 15:35:53 +0800 Subject: [PATCH] 1 --- webapp/controller/ToolsController.class.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/webapp/controller/ToolsController.class.php b/webapp/controller/ToolsController.class.php index 425a778b..500b5d75 100644 --- a/webapp/controller/ToolsController.class.php +++ b/webapp/controller/ToolsController.class.php @@ -448,6 +448,7 @@ class ToolsController extends BaseController { $address = '0x57724eb7e63ebfd9833dcb7371ff9508ef7de48a'; $itemId = V_ITEM_GOLD_BULLION_1W; $gold = 1000; + $netId = 13371; $checkSql1 = 'SELECT COUNT(*) FROM t_nft WHERE token_id IN ('; $checkSql2 = 'SELECT COUNT(*) FROM t_gold_bullion WHERE token_id IN ('; for ($i = 0; $i < $num; ++$i) { @@ -463,7 +464,7 @@ class ToolsController extends BaseController { 'VALUES("' . $accountId . '",' . '"' . $address . '",' . '"' . $tokenId . '",' . - '' . NET_ID . ',' . + '' . $netId . ',' . '' . $itemId . ',' . '' . $gold . ',' . '' . myself()->_getNowTime() . ',' .