diff --git a/src/main/java/com/qyft/ms/app/core/SelfMoveTestGenerator.java b/src/main/java/com/qyft/ms/app/core/SelfMoveTestGenerator.java new file mode 100644 index 0000000..a86e8e2 --- /dev/null +++ b/src/main/java/com/qyft/ms/app/core/SelfMoveTestGenerator.java @@ -0,0 +1,17 @@ +package com.qyft.ms.app.core; + +import cn.hutool.json.JSONObject; + +public class SelfMoveTestGenerator { + + public static JSONObject generateJson(String commandId, String command, String title, Object schedule,String type) { + JSONObject jsonObject = new JSONObject(); + jsonObject.set("commandId", commandId); + jsonObject.set("command", command); + jsonObject.set("title", title); + jsonObject.set("schedule", schedule); + jsonObject.set("type", type); + return jsonObject; + } + +}