买卖合同中相关法律规定及风险防范