From 738f6c1aa8ba59fb666d347e02b5fb7f70491cf2 Mon Sep 17 00:00:00 2001 From: yinbentan <yinbentan@live.com> Date: 星期一, 01 七月 2024 09:37:09 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/jialian' into jialian --- controllers/system_config.go | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/controllers/system_config.go b/controllers/system_config.go index 60b2523..7c73191 100644 --- a/controllers/system_config.go +++ b/controllers/system_config.go @@ -9,6 +9,7 @@ "wms/pkg/structx" "wms/request" "wms/service" + "wms/task" ) type SystemConfigController struct{} @@ -54,6 +55,11 @@ } } + if err := task.RestartDynamicTask(); err != nil { + util.ResponseFormat(c, code.SaveFail, "閲嶅惎瀹氭椂浠诲姟澶辫触") + return + } + util.ResponseFormat(c, code.Success, "淇濆瓨鎴愬姛") } -- Gitblit v1.8.0