Skip to content

Commit

Permalink
注释掉Detail对象的Translate字段赋值
Browse files Browse the repository at this point in the history
  • Loading branch information
weibaohui committed Oct 15, 2024
1 parent bfc63de commit d7b7492
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/controller/doc/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,6 @@ func Detail(c *gin.Context) {
if err != nil {
amis.WriteJsonError(c, err)
}
detail.Translate = detail.Description
// detail.Translate = detail.Description
amis.WriteJsonData(c, detail)
}

0 comments on commit d7b7492

Please sign in to comment.