Exemplo n.º 1
0
def get_brand():
    """
    获取品牌
    """
    brand, brand_count = get_model(Brand)
    return brand, brand_count
Exemplo n.º 2
0
def get_formula():
    """
    获取奶粉
    """
    formula, formula_count = get_model(TypeOfMilk)
    return formula, formula_count
Exemplo n.º 3
0
def get_court():
    """
    获取院内/外
    """
    court, court_count = get_model(Court)
    return court, court_count