Update XxlJobRemotingUtil.java

nginx 会默认过滤“_”符号,导致Token失效,无法从 Request header 中 正常获取到Token值。
master
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
  1. 2
      xxl-job-core/src/main/java/com/xxl/job/core/util/XxlJobRemotingUtil.java

@ -17,7 +17,7 @@ import java.util.Map;
*/
public class XxlJobRemotingUtil {
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

Loading…
Cancel
Save