Commit a2e2f89e authored by shajiaiming's avatar shajiaiming

Merge branch 'feature/airdrop' into 'master'

搜索范围更新 See merge request !325
parents fb1dd95b e0ff9f73
......@@ -80,7 +80,7 @@ class AirDropController extends BaseController
$apply_id_arr = explode(',', $apply_ids);
$query->andWhere(['in', 'id', $apply_id_arr]);
}
$expiry_date = date("Y-m-d", strtotime("+1 day"));
$expiry_date = date("Y-m-d");
$query->andWhere(['<', 'create_time', $expiry_date]);
$items = $query->offset(($page - 1) * $size)->orderBy('id desc')->limit($size)->all();
......
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