コード例 #1
0
 public function del()
 {
     $id = I('break_id');
     $applianceTroubleLogic = new l\ApplianceTroubleLogic();
     $result = $applianceTroubleLogic->delTrouble($id);
     S('troubles', NULL);
     $data['message'] = $result['message'];
     $this->ajaxReturn($data, 'JSON');
 }