mirror of
https://github.com/eiblog/eiblog.git
synced 2026-02-23 06:32:28 +08:00
fix(auto_save): fix auto save return empty id
This commit is contained in:
@@ -283,6 +283,9 @@ func handleAPIPostCreate(c *gin.Context) {
|
|||||||
logrus.Error("handleAPIPostCreate.AddArticle: ", err)
|
logrus.Error("handleAPIPostCreate.AddArticle: ", err)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
cid = article.ID
|
||||||
|
|
||||||
if !article.IsDraft {
|
if !article.IsDraft {
|
||||||
// 异步执行,快
|
// 异步执行,快
|
||||||
go func() {
|
go func() {
|
||||||
|
|||||||
Reference in New Issue
Block a user