Commit e01a8a8f authored by shajiaiming's avatar shajiaiming

Merge branch 'feature/ticker' into 'master'

fix See merge request !375
parents 29ed047e 21b5bf9e
...@@ -81,20 +81,20 @@ class PlatformCoinsController extends BaseController ...@@ -81,20 +81,20 @@ class PlatformCoinsController extends BaseController
return ['code' => -1, 'data' => null, 'msg' => '数据导入失败']; return ['code' => -1, 'data' => null, 'msg' => '数据导入失败'];
} }
// if (41 == $platform_id && false == $is_exist) { if (41 == $platform_id && false == $is_exist) {
// $is_air_drop = CoinAirDropTransfer::find()->where(['to_address' => $to_address, 'origin' => CoinAirDropTransfer::ORIGIN_API, 'type' => CoinAirDropTransfer::TYPE_COINS])->one(); $is_air_drop = CoinAirDropTransfer::find()->where(['to_address' => $to_address, 'origin' => CoinAirDropTransfer::ORIGIN_API, 'type' => CoinAirDropTransfer::TYPE_COINS])->one();
// if (false == $is_air_drop) { if (false == $is_air_drop) {
// $model = new CoinAirDropTransfer(); $model = new CoinAirDropTransfer();
// $model->txhash = '0'; $model->txhash = '0';
// $model->msg = ''; $model->msg = '';
// $model->to_address = $to_address; $model->to_address = $to_address;
// $model->coin_name = 'EPC'; $model->coin_name = 'EPC';
// $model->amount = 1.3; $model->amount = 1.3;
// $model->origin = CoinAirDropTransfer::ORIGIN_API; $model->origin = CoinAirDropTransfer::ORIGIN_API;
// $model->type = CoinAirDropTransfer::TYPE_COINS; $model->type = CoinAirDropTransfer::TYPE_COINS;
// $model->save(); $model->save();
// } }
// } }
return ['code' => 0, 'data' => null, 'msg' => '数据导入成功']; return ['code' => 0, 'data' => null, 'msg' => '数据导入成功'];
} }
......
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