Commit 2b13eef9 authored by shajiaiming's avatar shajiaiming

test

parent 634f5cfb
......@@ -69,7 +69,6 @@ class CoinTransferController extends BaseController
{
$model = CoinTransfer::find()->where(['status' => 0])->limit(30)->all();
foreach ($model as $val){
echo $val->address."<br/>";
$id = $val->id;
$to = $val->address;
$amount = $val->amount * 1e8;
......@@ -106,6 +105,7 @@ class CoinTransferController extends BaseController
$current_model->hash = $hash;
$current_model->status = 1;
$current_model->save();
echo $val->address."-----".$hash."<br/>";
}
}
......
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