返回运行方法,可以写在一行 callback&&callback() return DiscountMap[discountType] && DiscountMap[discountType](price)