Commit 2037b9d8 authored by shajiaiming's avatar shajiaiming

fix

parent f06e90cb
......@@ -110,8 +110,6 @@ class WalletController extends BaseController
public function actionGetBalance()
{
$code = 0;
$msg = 'success';
$platform_id = Yii::$app->request->get('platform_id', '');
$token = Yii::$app->request->get('address', '');
$symbol = Yii::$app->request->get('symbol', '');
......@@ -163,7 +161,7 @@ class WalletController extends BaseController
$service = new Chain33Service($node);
if (false == $switch) {
$result = $service->getTokenBalance($token, $execer, $symbol);
$result = $service->getTokenBalance([$token], $execer, $symbol);
} else {
$result = $service->getBalance($token, $execer = '');
}
......
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