Commit ded7b59c authored by shajiaming's avatar shajiaming

fix

parent 9a8e905d
...@@ -106,14 +106,14 @@ class WalletChainController extends BaseController ...@@ -106,14 +106,14 @@ class WalletChainController extends BaseController
goto doEnd; goto doEnd;
} }
// $node_params = Yii::$app->params['para']; $node_params = Yii::$app->params['para'];
// $service = new Chain33Service($node_params); $service = new Chain33Service($node_params);
// $result = $service->addPara($params['platform'], $params['host'] . ':' . $params['port']); $result = $service->addPara($params['platform'], $params['host'] . ':' . $params['port']);
// if (0 != $result['code']) { if (0 != $result['code']) {
// $this->code = $result['code']; $this->code = $result['code'];
// $this->msg = $result['msg']; $this->msg = $result['msg'];
// goto doEnd; goto doEnd;
// } }
$model->save(); $model->save();
$this->data = (int)Yii::$app->p_sources->getLastInsertID(); $this->data = (int)Yii::$app->p_sources->getLastInsertID();
......
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