location /api/gj/ { rewrite ^/api/gj/(.*) /$1 break; proxy_pass http://127.0.0.1:18999; }
第一步:引入jar <dependency> <groupId>com.alipay.api</groupId> <artifactId>sdk</artifactId> <version>1.0</version> <scope>s...
安装yum install sysstat 显示所有设备负载,2秒刷新一次 iostat 2 [root@localhost ~]# iostat -mxt 2 Linux 3.10.0-1062.12.1.el7.x86_64 (localhost.localdomain) 2020年04月11日 _x86_64_ (8 CPU) 2020年04月1...
package com.pingchas.netty; import java.security.Key; import java.security.KeyFactory; import java.security.KeyPair; import java.security.KeyPairGenerator; import java.security.NoSuchAlgorithm...
URLEncoder.encode(fileName,"utf-8"); response.setHeader("Content-disposition","attachment; filename=" + fileName);