Volley: [1205] BasicNetwork.performRequest: Unexpected response code 400 for

400错误
给我提示在这里插入图片描述

在这里插入图片描述

明明我拼接接口了 却没拼上
解决办法:

String Base_Url="http://172.17.8.100/small/commodity/v1/findCommodityByKeyword?page=1&count=71&keyword=";
        presenter.chuan(Base_Url+ URLEncoder.decode(s));
//更新了一下 用URLEncoder

在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/Android_Mr_Zhao/article/details/89525327