|
@@ -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')
|