This website works better with JavaScript.
Home
Explore
Help
Sign In
EggPlanet
/
egg_admin
Watch
3
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
更新
master
huangjiajun
1 day ago
parent
c935295371
commit
cd247e8b8e
2 changed files
with
2 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
app/md/md_article.go
+1
-1
app/svc/article/svc_list.go
+ 1
- 1
app/md/md_article.go
View File
@@ -60,5 +60,5 @@ type ArticleSaveReq struct {
Sort string `json:"sort"`
}
type ArticleDelReq struct {
Id []string `json:"id"`
Id
s
[]string `json:"id
s
"`
}
+ 1
- 1
app/svc/article/svc_list.go
View File
@@ -120,7 +120,7 @@ func Del(c *gin.Context) {
e.OutErr(c, e.ERR_INVALID_ARGS, err)
return
}
db.Db.In("id
s
", req.Id).Delete(&model.Article{})
db.Db.In("id", req.Id
s
).Delete(&model.Article{})
e.OutSuc(c, "success", nil)
return
}
Write
Preview
Loading…
Cancel
Save