![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
经验
luo_yu_1106
这个作者很懒,什么都没留下…
展开
-
关于转义字符&
1.情况是这样的,就是前段传的xml参数里存在’&'这种特殊字符,所以前端需要转义后再传给后端,也就是&转义为&后传给后端。但是后端接收但这个参数时,会拼接url,就像下面这样的http://www.xx.com/path/api?gender=M&name=L&G&color=red…这个URL最后会通过下面这两行代码返回URI uri = RestUtils.buildURI(xx,xx,xx);return uri,roURL();关键就是原创 2021-11-10 11:45:26 · 8598 阅读 · 0 评论 -
看php代码时没有源代码,可以在网页右键-查看框架源代码
原创 2019-03-19 15:55:43 · 1890 阅读 · 0 评论 -
将String转为int的方法
@Test public void test04() { String a="T20190001"; a= a.substring(1); int z= Integer.valueOf(a).intValue(); int s=z+1; System...原创 2019-04-11 15:21:22 · 2194 阅读 · 0 评论