...
|
...
|
@@ -143,6 +143,8 @@ class AdminEquipmentController extends AdminBaseController{ |
|
|
Db::name('equipment')->where('id',$id)->update(['use'=>0]);
|
|
|
echo \db('equipment')->getLastSql();
|
|
|
\db('order')->where($map)->update($data);
|
|
|
$user_updata['is_use']=0;
|
|
|
\db('users')->where('id',$order['users_id'])->update($user_updata);
|
|
|
echo \db('order')->getLastSql();
|
|
|
echo '<br />';
|
|
|
} catch (\Exception $e){
|
...
|
...
|
|