class CateModel(object): def __init__(self): self.sqldbhelper = SqlDbHelp() def editCate(self,sql,params): return self.sqldbhelper.updateData(sql, params)
def __init__(self): self.sqldbhelper = SqlDbHelp()