delete useless code in ajax,js and rename it to getGoods.js