fix🐛 定时任务,触发函数,无法正常关闭(#432)

This commit is contained in:
zhangwenjian
2021-06-01 00:17:35 +08:00
parent 2cb81654a6
commit c0f920d43c
2 changed files with 2 additions and 3 deletions
+1 -1
View File
@@ -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, "参数验证失败")