修改getGoods函数：修改offset = page * limit