Commit a6f082a2 authored by shajiaiming's avatar shajiaiming

fix

parent 8d16c9dd
......@@ -157,10 +157,10 @@ class AirDropController extends BaseController
}
$redis = Yii::$app->redis_app;
if (true == $redis->exists($identifier)) {
$this->msg = '已达今日领取上限,请明天再来!';
$this->code = -1;
$this->data = false;
goto doEnd;
}
$this->data = true;
doEnd :
return ['code' => $this->code, 'msg' => $this->msg, 'data' => $this->data];
......
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