Commit 46a50893 authored by shajiaiming's avatar shajiaiming

Merge branch 'feature/airdrop' into develop

parents 460681cc c75f9fc6
......@@ -245,7 +245,7 @@ class AirDropController extends BaseController
$model = AirDrop::find()->select('id, wallet_address')->where(['identifier' => $identifier, 'miner_address' => $miner_address])->one();
if (empty($model) || empty($model->record)) {
if (empty($model) || empty($model->wallet_address) || empty($model->record)) {
$this->code = -1;
$this->msg = '设备初始化中,请稍后再试.';
goto doEnd;
......
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