最近在提交小程序审核时,经常发生服务器收到非法请求。发生时间都在提交审核那一刻。该小程序正常只会在合肥地区使用。但是非法请求ip地址
显示49.235.205.65上海腾讯云。请求参数为 "shop_id":"52873","lng":"121.50109","lat":"31.23691?shopId=52111","entrance":"0"
页面为一个店铺列表,点击列表进该店铺详情页(内嵌h5),点击时调用以下goShopDet()方法。
goShopDet(e) {
let _this = this;
console.log(e);
let shopId = e.currentTarget.dataset.shopid;
this.setData({
shopUrl: `${this.data.shopUrl}?shopId=${shopId}&lng=${this.data.lng}&lat=${this.data.lat}`,
shopId: shopId
})
let url = encodeURIComponent(_this.data.shopUrl)
console.log(_this.data.shopUrl)
wx.navigateTo({
url: `/pages/webView/webView?url=${url}`
})
}