12345678910111213141516171819 |
- output = {};
- try {
- eval(dfs.read("/script/matrix/utils/ajs/JsonImporterFuncs.js"));
- output.result = runServerJS("/matrix/utils/ajs/InitJsonImporter.js", {name:"change"});
- } catch (e) {
- if (typeof (e) == "object") {
- output.error = e;
- } else if (typeof (e) == "string") {
- output.error = "错误:" + e;
- } else {
- output.error = JSON.stringify(e);
- }
- }
- // 返回输出信息
- OUTPUT = output;
|