接口后面加一个随机数

请求的接口后面加一个随机数,防止数据缓存
var goUrl = '/list.json?r=' + Math.random();

猜你喜欢

转载自blog.csdn.net/dxj124/article/details/88943357