示例#1
0
 /**
  * 删除
  *
  * @param array $data
  * @return boolean
  */
 public function delete($data)
 {
     try {
         $dao = new ClientsDao();
         $id = $data["id"];
         $result = $dao->deleteById($id);
     } catch (Exception $e) {
         throw new Exception($e);
     }
 }