增加返还交易市场被锁金币(自动下架)sql
This commit is contained in:
parent
a03cfa7cfd
commit
3d1c737fbf
5
sql/giveback_market_gold.sql
Normal file
5
sql/giveback_market_gold.sql
Normal file
@ -0,0 +1,5 @@
|
||||
UPDATE t_user o JOIN (
|
||||
SELECT owner_address, item_id, SUM(amount) as t FROM t_market_store WHERE `status`=3 AND item_id=10001 GROUP BY owner_address
|
||||
) t ON o.address = t.owner_address
|
||||
SET o.gold = o.gold + t.t;
|
||||
UPDATE t_market_store SET `status`=1 WHERE `status`=3;
|
@ -173,7 +173,7 @@ class BlockChainService {
|
||||
private static function getWeb3ServiceUrl()
|
||||
{
|
||||
if (SERVER_ENV == _DEBUG) {
|
||||
return 'https://login-test.kingsome.cn/webapp/index.php';
|
||||
return 'https://192.144.140.87/webapp/index.php';
|
||||
}
|
||||
if (SERVER_ENV == _TEST) {
|
||||
return 'http://127.0.0.1:7672/webapp/index.php';
|
||||
|
Loading…
x
Reference in New Issue
Block a user