nginx 会默认过滤“_”符号,导致Token失效,无法从 Request header 中 正常获取到Token值。
@ -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