Commit e0cc57e7 authored by shajiaiming's avatar shajiaiming

fix

parent 5cddb058
...@@ -88,10 +88,10 @@ class WalletController extends BaseController ...@@ -88,10 +88,10 @@ class WalletController extends BaseController
$data = null; $data = null;
goto doEnd; goto doEnd;
} }
$node = Yii::$app->params['chain_nodes']['STO']; $node = Yii::$app->params['chain_parallel']['primary'];
$service = new Chain33Service($node); $service = new Chain33Service($node);
$address[] = $token; $address[] = $token;
$execer = 'user.p.daitaochain.token'; $execer = 'coins';
$result = $service->getBalance($address, $execer); $result = $service->getBalance($address, $execer);
if (0 !== $result['code']) { if (0 !== $result['code']) {
$msg = $result['msg']; $msg = $result['msg'];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment