1
This commit is contained in:
parent
58feefe78e
commit
eab6f457a1
@ -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(), '调用合约参数'],
|
||||
],
|
||||
'合约调用-队列(排队执行上一个成功才能调用下一个)'
|
||||
]
|
||||
]
|
||||
},
|
||||
}
|
||||
]
|
||||
|
@ -457,7 +457,7 @@ class BlockChainController extends BaseAuthedController {
|
||||
));
|
||||
}
|
||||
|
||||
public function rechargeBuyS()
|
||||
private function rechargeBuyS()
|
||||
{
|
||||
$goodsMeta = mt\Recharge::get(getReqVal('goods_id', ''));
|
||||
if (!$goodsMeta) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user