上传中文乱码时转码为UTF-8 map.put("goodsName", java.net.URLEncoder.encode(strgoodsName)); // 名称 转载于:https://www.cnblogs.com/bxfx111/p/4056110.html