|
@@ -23,10 +23,10 @@ class Groupon extends Common
|
|
|
|
|
|
$groupons = GrouponModel::with('leader')->ing()
|
|
|
->where('goods_id', $goods_id)
|
|
|
- ->where('activity_id', $activity_id)
|
|
|
+// ->where('activity_id', $activity_id)
|
|
|
->order('id', 'asc')
|
|
|
- ->paginate($this->request->param('list_rows', 10));
|
|
|
-
|
|
|
+// ->paginate($this->request->param('list_rows', 10));
|
|
|
+ ->autopage()->select();
|
|
|
$this->success('获取成功', $groupons);
|
|
|
}
|
|
|
|