Example #1
0
def viewMyGoods():
    goodsList = sql.readMyGoods(sql.readLoginUser())
    if not goodsList:
        print u"无已支付商品"
        return False
    return utils.printGoods(goodsList)
Example #2
0
def viewCard():
    goodsList = sql.readCars()
    if not goodsList:
        print u"购物车无商品"
        return False
    return utils.printGoods(goodsList)
Example #3
0
def viewMyGoods():
    goodsList = sql.readMyGoods(sql.readLoginUser())
    if not goodsList :
        print u"无已支付商品"
        return  False
    return utils.printGoods(goodsList)
Example #4
0
def viewCard():
    goodsList = sql.readCars()
    if not goodsList:
        print u"购物车无商品"
        return False
    return  utils.printGoods(goodsList)
Example #5
0
def listGoods():
    goodsInfos = sql.readGoods()
    utils.printGoods(goodsInfos)
    return True
Example #6
0
def listGoods():
    goodsInfos = sql.readGoods()
    utils.printGoods(goodsInfos)
    return True