rabin 3 일 전
부모
커밋
f47b0d4356
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/dai/seller/app/Api/Task.php

+ 1 - 1
src/dai/seller/app/Api/Task.php

@@ -16,7 +16,7 @@ class Task
                 if ($v['chaoshi'] > 0) {
                     $time = $cur + $v['chaoshi']*60;
                     $where['status'] = ['<=', 2];
-                    $where['cdate'] = ['>', $time];
+                    $where['cdate'] = ['<=', $time];
                     Dever::db('seller/order')->update($where, ['status' => 11]);
                     $order = Dever::db('seller/order')->load($where);
                     foreach ($order as $v1) {