|
|
|
@ -92,7 +92,7 @@ public class XxlJobRemotingUtil {
|
|
|
|
|
connection.setRequestProperty("Content-Type", "application/json;charset=UTF-8");
|
|
|
|
|
connection.setRequestProperty("Accept-Charset", "application/json;charset=UTF-8");
|
|
|
|
|
|
|
|
|
|
if(accessToken!=null && accessToken.trim().length()>0){
|
|
|
|
|
if(accessToken!=null && !accessToken.trim().isEmpty()){
|
|
|
|
|
connection.setRequestProperty(XXL_JOB_ACCESS_TOKEN, accessToken);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|