https://www.jpush.cn/common/products model.addAttribute("bankName",Base64.encode(resp.getBankName().getBytes())); model.addAttribute("bankName", new String(Base64.decode(bankName)));
Content type 'application/x-www-form-urlencoded;charset=UTF-8' not supported 问题背景新增页面代码改造 问题背景 这里有一个需求,前端页面需要往后端传参,参数包括主表数据字段以及子表数据字段,由于主表与子表为一对多关系,在添加一条主表记录可能会添加多条子表记录,因此新增数据时需要向后端传参主表字段及子表l
在使用Https协议时,本地服务器运行正常调用,但是将项目部署到阿里云服务上时,报错 sun.net.www.protocol.http.HttpURLConnection cannot be cast to javax.net.ssl.HttpsURLConnection 解决方法: 将URL url= new URL(url);改为URL url= new URL(null, ur
配置thinkphp环境时报错 Parse error: syntax error, unexpected T_CONST in /www/web/111_com/public_html/youxicidian/ThinkPHP/ThinkPHP.php on line 23 appserv用的是2.5.10版本 thinkphp用的是3.2版本 解决方法一:将thinkp
最近,在项目开发过程中,碰到了数据库死锁问题,在解决问题的过程中,笔者对MySQL InnoDB引擎锁机制的理解逐步加深。 案例如下: 在使用Show innodb status检查引擎状态时,发现了死锁问题: *** (1) TRANSACTION: TRANSACTION 0 677833455, ACTIVE 0 sec, process no 11393, OS t