Commit 9c358516 authored by rlgy's avatar rlgy

update

parent b72bad8d
......@@ -18,13 +18,13 @@
<input name="_csrf" type="hidden" value="<?= Yii::$app->request->getCsrfToken() ?>">
<input name="id" type="hidden" value="<?= $model->id ?>">
<div class="layui-inline">
<label class="layui-form-label"></label>
<label class="layui-form-label"></label>
<div class="layui-input-block">
<input class="layui-input" name="name" value="<?= $model->name ?>" lay-verify="required">
</div>
</div>
<div class="layui-inline">
<label class="layui-form-label">别称</label>
<label class="layui-form-label">中文明</label>
<div class="layui-input-block">
<input class="layui-input" name="nickname" value="<?= $model->nickname ?>">
</div>
......
......@@ -18,13 +18,13 @@
<input name="_csrf" type="hidden" value="<?= Yii::$app->request->getCsrfToken() ?>">
<input name="id" type="hidden" value="<?= $model->id ?>">
<div class="layui-inline">
<label class="layui-form-label"></label>
<label class="layui-form-label"></label>
<div class="layui-input-block">
<input class="layui-input" name="name" value="<?= $model->name ?>" lay-verify="required">
</div>
</div>
<div class="layui-inline">
<label class="layui-form-label">别称</label>
<label class="layui-form-label">中文名</label>
<div class="layui-input-block">
<input class="layui-input" name="nickname" value="<?= $model->nickname ?>">
</div>
......
......@@ -172,6 +172,7 @@ class CoinBusiness
if (empty($row['introduce'])) {
$row['introduce'] = '';
}
$row['price'] = sprintf("%s",(double)$row['price']);
$coin = CoinFactory::createCoin($row['name'], $row['id'], $row['sid']);
$row['quotation'] = $coin->quotation();
$row['exchange_count'] = $coin->exchange_count();
......
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