Commit 5ae60893 authored by shajiaiming's avatar shajiaiming

Merge branch 'feature/airdrop' into 'master'

领取总量条件变更 See merge request !338
parents 42b1c4d3 812774e8
......@@ -43,7 +43,7 @@ class AirDropController extends Controller
//已领取次数
$reached_times = AirDropApplyRecord::find()
->where(['apply_id' => $val['id'], 'draw_status' => AirDropApplyRecord::STATUS_DRAW_SUEEESS])
->andWhere(['<', 'create_time', $expiry_date])
//->andWhere(['<', 'create_time', $expiry_date])
->count();
$reached_times = empty($reached_times) ? 0 : (int)$reached_times;
......
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