...
|
...
|
@@ -111,7 +111,13 @@ class AdminEquipmentController extends AdminBaseController{ |
|
|
|
|
|
//删除
|
|
|
public function delete(){
|
|
|
|
|
|
$id=$this->request->param('id');
|
|
|
try{
|
|
|
Db::name('equipment')->where('id',$id)->update(['is_delete'=>1]);
|
|
|
}catch (\Exception $exception){
|
|
|
$this->error('删除失败');
|
|
|
}
|
|
|
$this->success('删除成功');
|
|
|
}
|
|
|
|
|
|
|
...
|
...
|
|