摘要:
nginxserver { listen 80; server_name 192.168.0.103; # http访问重写为https rewrite ^ https:/$http_host$request_uri? permanent; } # https server { listen 443 阅读全文
posted @ 2019-01-21 16:18
huiy_小溪
阅读(540)
评论(0)
推荐(0)
摘要:
情况说明:直接用main方法运行时是没有问题的,web程序一放入tomcat中就会出现解密时乱码。解决办法:在解密时,返回string时对数组需要指定UTF-8编码。public static String decode(String desStr) { Base64 base64 = new Ba 阅读全文
posted @ 2019-01-21 12:01
huiy_小溪
阅读(823)
评论(0)
推荐(0)