wxml代码:
<input bindinput=’
bindinput
’
placeholder=‘输入订单编号/购买人/销售员/商品名称’ type=‘text’ />
js代码:
bindinput(e) {
this.setData({
keywords: e.detail.value
})
},
util.crmRequest.get(’/order/getOrderInfoList?managerStoreId=’ + dao.getUser().store_id + “&keywords=” + keywords , function (list) {… })
只要一调后台接口就报错:
showToast:fail parameter error: parameter.title should be String instead of Undefined
Java后台也报错:
Note: further occurrences of HTTP header parsing errors will be logged at DEBUG level.
java.lang.IllegalArgumentException: Invalid character found in the request target. The valid characters are defined in RFC 7230 and RFC 3986
但是用微信开发者工具调试是没有任何问题的,用手机测试就会出现这样的问题。并且以前用手机测试也是没问题的,近10天左右突然出现这样的问题。
各位大神帮忙看看是怎么回事?