Commit c12ccbb8 by 朱继来

调整领取记录页面

parent 63e945c7
Showing with 1 additions and 0 deletions
......@@ -138,6 +138,7 @@ class UserSampleApplyModel extends Model
$field = ['apply_id', 'user_id', 'account', 'order_id', 'order_sn', 'goods_id', 'goods_name', 'apply_num', 'quota', 'is_expire', 'type', 'create_time'];
$list = $this->where('user_id', $user_id)
->whereIn('type', [1, 2])
->select($field)
->orderBy('create_time', 'desc')
->orderBy('apply_id', 'asc')
......
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 sign in to comment