修改首页描述和api

This commit is contained in:
zhangchenhao
2025-05-09 14:36:28 +08:00
parent 400d7e6db8
commit c012704c9a
2 changed files with 5 additions and 2 deletions

View File

@@ -113,9 +113,9 @@ func GetWorkflowHistory() ([]map[string]any, error) {
}
switch v["exec_type"] {
case "manual":
mode = "手动触发"
mode = "手动"
case "auto":
mode = "定时触发"
mode = "自动"
}
wk, err := s.Where("id=?", []interface{}{v["workflow_id"]}).Select()
if err != nil {