//更新户主信息 public int update(string customer_id, string cname, string password, string bankid) { Model.Model model = new Model.Model(); int affected = model.updateCustomer (customer_id,cname, password,bankid ); return affected; }