This commit is contained in:
zhangchao
2024-10-17 20:08:31 +08:00
parent 752e43a934
commit ea07ca2ab1

View File

@@ -16,7 +16,7 @@ func CreateContentHandler(ctx *gin.Context) {
}
if err := models.DB.Create(&content).Error; err != nil {
ctx.JSON(500, gin.H{"error": "增加失败"})
ctx.JSON(500, gin.H{"error": "增加内容失败"})
return
}