fix🐛 文件管理\内容管理\分类程序\定时任务的已知问题
This commit is contained in:
1 parent
e126fd38bc
commit
9bc2791b26
1 file changed
+1
-1
@@ -22,7 +22,7 @@ func (s *ObjectById) Bind(ctx *gin.Context) error {
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
if ctx.Request.Method == http.MethodDelete {
|
if ctx.Request.Method == http.MethodDelete {
|
||||||
err = ctx.ShouldBind(&s.Ids)
|
err = ctx.ShouldBind(&s)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Warnf("ShouldBind error: %s", err.Error())
|
log.Warnf("ShouldBind error: %s", err.Error())
|
||||||
return err
|
return err
|
||||||
|
|||||||
Reference in new issue
Block a user