Browse Source

队列命令

lizhen_gitee 3 months ago
parent
commit
c70c6ebd21

+ 3 - 3
addons/shopro/controller/activity/Groupon.php

@@ -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);
     }
 

+ 3 - 1
addons/shopro/job/OrderAutoOper.php

@@ -106,7 +106,9 @@ class OrderAutoOper extends BaseJob
     }
 
 
-
+    /**
+     * 订单自动评价
+     */
     public function autoComment(Job $job, $data) {
         try {
             $order = $data['order'];

+ 0 - 0
队列命令.txt