Commit 1a64fcb8 by huangfusuper

脚本数据注入替换

parent 904bd700
...@@ -30,11 +30,11 @@ public class Test { ...@@ -30,11 +30,11 @@ public class Test {
thread.start(); thread.start();
Thread.sleep(30000); // Thread.sleep(30000);
//
list.forEach(process -> { // list.forEach(process -> {
process.hardKill(); // process.hardKill();
}); // });
} }
......
...@@ -3,5 +3,5 @@ import time ...@@ -3,5 +3,5 @@ import time
i = 0 i = 0
while i<100: while i<100:
time.sleep(1) time.sleep(1)
print("-----${name}---%d" %i) print("-----百花凰冠${name}---%d" %i)
i+=1 i+=1
\ No newline at end of file
package com.byit.job; package com.byit.job;
import com.alibaba.fastjson.JSON;
import com.byit.job.dto.ScriptParamAndPlaceholderDto; import com.byit.job.dto.ScriptParamAndPlaceholderDto;
import com.byit.job.dto.plugin.*; import com.byit.job.dto.plugin.*;
import com.byit.rpc.remoting.invoker.route.LoadBalance; import com.byit.rpc.remoting.invoker.route.LoadBalance;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment