Update XxlJobRemotingUtil.java

nginx 会默认过滤“_”符号,导致Token失效,无法从 Request header 中 正常获取到Token值。
2.1.2
Sky.Grain 5 years ago committed by GitHub
parent db8b1217ef
commit 51f9504c55
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -17,7 +17,7 @@ import java.util.Map;
*/ */
public class XxlJobRemotingUtil { public class XxlJobRemotingUtil {
private static Logger logger = LoggerFactory.getLogger(XxlJobRemotingUtil.class); private static Logger logger = LoggerFactory.getLogger(XxlJobRemotingUtil.class);
public static String XXL_RPC_ACCESS_TOKEN = "XXL_RPC_ACCESS_TOKEN"; public static String XXL_RPC_ACCESS_TOKEN = "XXL-RPC-ACCESS-TOKEN";
/** /**
* post * post

Loading…
Cancel
Save