fix🐛 定时任务,触发函数,无法正常关闭(#432)
This commit is contained in:
1 parent
2cb81654a6
commit
c0f920d43c
2 files changed
+2
-3
No files matched your search
@@ -24,7 +24,7 @@ func (e SysJob) RemoveJobForService(c *gin.Context) {
|
||||
return
|
||||
}
|
||||
var v dto.GeneralDelDto
|
||||
err = c.Bind(&v)
|
||||
err = c.BindUri(&v)
|
||||
if err != nil {
|
||||
log.Warnf("参数验证错误, error: %s", err)
|
||||
e.Error(http.StatusUnprocessableEntity, err, "参数验证失败")
|
||||
|
||||
Reference in new issue
Block a user