Browse Source

增加自检进度json工具方法

master
王梦远 3 weeks ago
parent
commit
4cea097df4
  1. 17
      src/main/java/com/qyft/ms/app/core/SelfMoveTestGenerator.java

17
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;
}
}
Loading…
Cancel
Save