规则脚本增加日志

This commit is contained in:
kerwincui
2025-04-15 15:34:04 +08:00
parent 12dc1e869e
commit 56577f4262
7 changed files with 154 additions and 3 deletions

View File

@@ -17,6 +17,15 @@ export function getScript(scriptId) {
});
}
// 查询规则引擎脚本日志
export function getScriptLog(scriptId) {
return request({
url: '/iot/script/log/' + scriptId,
method: 'get',
});
}
// 新增规则引擎脚本
export function addScript(data) {
return request({