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