Commit 39960b09 authored by shajiaiming's avatar shajiaiming

发币单位

parent 2bac09cd
...@@ -369,12 +369,12 @@ class IssueChainTransferController extends Controller ...@@ -369,12 +369,12 @@ class IssueChainTransferController extends Controller
$model->sid = $params['name']; $model->sid = $params['name'];
$model->nickname = ['ja' => '', 'en-US' => '', 'zh-CN' => '']; $model->nickname = ['ja' => '', 'en-US' => '', 'zh-CN' => ''];
$model->platform = $params['platform']; $model->platform = $params['platform'];
$model->publish_count = $params['total'] * 1e8; $model->publish_count = $params['total'] * 1e4;
$model->chain = 'BTY'; $model->chain = 'BTY';
$model->treaty = 1; $model->treaty = 1;
$model->save(); $model->save();
} else { } else {
$model_coin->publish_count = $model_coin->publish_count + $params['total'] * 1e8; $model_coin->publish_count = $model_coin->publish_count + $params['total'] * 1e4;
$model_coin->save(); $model_coin->save();
} }
} }
......
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