卖单状态更新问题

huazhiyu
lqmac 1 year ago
parent 920c6bef24
commit c5918b5103
  1. 4
      application/api/controller/User.php

@ -690,7 +690,7 @@ class User extends Api
->update(['status' => 1,"updatetime" => time()]);
Db::name('order')
->whereTime('createtime', 'today')
//->whereTime('createtime', 'today')
->where('warehouse_id', $info['warehouse_id'])
->where('user_id', $user['id'])
->where('order_type', 1)
@ -725,7 +725,7 @@ class User extends Api
->update(['status' => 1,"updatetime" => time()]);
Db::name('order')
->whereTime('createtime', 'today')
//->whereTime('createtime', 'today')
->where('warehouse_id', $info['warehouse_id'])
->where('user_id', $user['id'])
->where('order_type', 1)

Loading…
Cancel
Save