Commit 72a6e391 authored by shajiaiming's avatar shajiaiming

增发数量 增加

parent 333cff58
......@@ -241,6 +241,20 @@ class IssueChainTransferController extends Controller
CoinIssueCoin::updateAll(['status' => $status], [
'id' => $val->coin->id,
]);
if (CoinIssueCoin::TYPE_NO == $val->coin->type) {
$params = [
'name' => $val->coin->name,
'symbol' => $val->coin->symbol,
'introduction' => $val->coin->introduction,
'total' => (int)$val->coin->total,
'price' => isset($val->coin->platform->issue_charge) ? (int)$val->coin->platform->issue_charge : 0,
'category' => (int)$val->coin->category,
'owner' => $val->coin->owner,
'platform_id' => $val->coin->platform_id,
'platform' => $val->coin->chain->platform
];
$this->syncCoin($params);
}
}
//1.2查询后,交易成功
......
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