Skip to content

Commit

Permalink
update cron_unpayed plugin module
Browse files Browse the repository at this point in the history
  • Loading branch information
王正东 committed Jan 28, 2021
1 parent 2de1540 commit ce3a349
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion content/plugins/cron_unpayed/cron_unpayed.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,8 @@ public function run() {
->where('order_status', OS_UNCONFIRMED)
->where('pay_status', PS_UNPAYED)
->where('shipping_status', SS_UNSHIPPED)
->where(RC_DB::raw('add_time + '.$limit_time), '<=', $time)
//->where(RC_DB::raw('add_time + '.$limit_time), '<=', $time)
->where('add_time', '<=', ($time - $limit_time))
->take($limit_rows)
->get();

Expand Down

0 comments on commit ce3a349

Please sign in to comment.