Wang Chen 4 年之前
父節點
當前提交
8441944751
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/Modules/Push/Models/QappPushTask.php

+ 1 - 1
app/Modules/Push/Models/QappPushTask.php

@@ -76,7 +76,7 @@ class QappPushTask extends Model
      */
     public static function getAllValidTasks()
     {
-        $result = self::where('status', PushConst::STATUS_TODO)
+        $result = self::where('status', PushConst::STATUS_SUCCESS)
             ->where('select_user_status', PushConst::SELECT_USER_OK)
             ->where('push_time', '<=', date('Y-m-d H:i:s'))
             ->orderBy('push_time', 'ASC')