def get_os(cls): map_dict = get_parent('id', 'b_base_os') return cls._filter(map_dict)
def get_carriername(cls): map_dict1 = get_parent('id', 'b_base_operator', parent_field='categoryId') map_dict2 = get_parent('id', 'b_base_operator_category', parent_field='parentId') return cls._filter(map_dict1, map_dict2)
def get_devicemodel(cls): map_dict = get_parent('id', 'b_base_device') return cls._filter(map_dict)
def get_citys(cls): map_dict = get_parent('id', 'b_base_geo') return cls._filter(map_dict)