Commit 80cd43db authored by shajiaiming's avatar shajiaiming

Merge branch 'feature/airdrop' into develop

parents 24ffc563 92d1e0e3
...@@ -66,7 +66,7 @@ class AirDropController extends Controller ...@@ -66,7 +66,7 @@ class AirDropController extends Controller
\Co::sleep(0.5); \Co::sleep(0.5);
$result = $service->getBalance($val->apply->wallet_address, $execer); $result = $service->getBalance($val->apply->wallet_address, $execer);
if (0 == $result['code']) { if (0 == $result['code']) {
$frozen = $result['result']['frozen'] ?? 0; $frozen = $result['result'][0]['frozen'] ?? 0;
if ($frozen > 0) { if ($frozen > 0) {
$val->reach = AirDropApplyRecord::REACH_YES; $val->reach = AirDropApplyRecord::REACH_YES;
$val->save(); $val->save();
......
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