mirror of
https://gitee.com/beecue/fastbee.git
synced 2025-12-17 16:36:03 +08:00
规则脚本增加日志
This commit is contained in:
@@ -85,6 +85,16 @@ public class ScriptController extends BaseController
|
||||
return toAjax(scriptService.updateRuleScript(ruleScript));
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取规则引擎脚本日志
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('iot:script:query')")
|
||||
@GetMapping(value = "/log/{scriptId}")
|
||||
public AjaxResult getScriptLog(@PathVariable("scriptId") String scriptId) {
|
||||
return success(scriptService.selectRuleScriptLog("script", scriptId));
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 删除规则引擎脚本
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user