This commit is contained in:
aozhiwei 2024-07-31 16:41:31 +08:00
parent 58feefe78e
commit eab6f457a1
2 changed files with 2 additions and 23 deletions

View File

@ -121,26 +121,5 @@ class BlockChain(object):
['order_id', '', '订单id'],
['!params', [''], '合约参数列表'],
]
},
{
'name': 'rechargeBuyS',
'desc': 'usdt钻石充值',
'group': 'BlockChain',
'surl': 'webapp/index.php?c=BlockChain&a=rechargeBuyS',
'params': [
_common.ReqHead(),
['goods_id', '', '商品id'],
],
'response': [
_common.RspHead(),
['order_id', '', '订单id'],
['!calls',
[
['trans_id', '', '事务id'],
['trans_req', _common.MFTransactionRequest(), '调用合约参数'],
],
'合约调用-队列(排队执行上一个成功才能调用下一个)'
]
]
},
}
]

View File

@ -457,7 +457,7 @@ class BlockChainController extends BaseAuthedController {
));
}
public function rechargeBuyS()
private function rechargeBuyS()
{
$goodsMeta = mt\Recharge::get(getReqVal('goods_id', ''));
if (!$goodsMeta) {