|
@@ -120,7 +120,7 @@ func Del(c *gin.Context) { |
|
|
e.OutErr(c, e.ERR_INVALID_ARGS, err) |
|
|
e.OutErr(c, e.ERR_INVALID_ARGS, err) |
|
|
return |
|
|
return |
|
|
} |
|
|
} |
|
|
db.Db.In("ids", req.Id).Delete(&model.Article{}) |
|
|
|
|
|
|
|
|
db.Db.In("id", req.Ids).Delete(&model.Article{}) |
|
|
e.OutSuc(c, "success", nil) |
|
|
e.OutSuc(c, "success", nil) |
|
|
return |
|
|
return |
|
|
} |
|
|
} |