Skip to content

Commit 40926ef

Browse files
committed
fix: _ 加到后面
1 parent c4f5919 commit 40926ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/model/system/sys_auto_code.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ type AutoCodeStruct struct {
2626
// Author [SliverHorn](https://github.com/SliverHorn)
2727
func (a *AutoCodeStruct) KeyWord() {
2828
if token.IsKeyword(a.Abbreviation) {
29-
a.Abbreviation = "_" + a.Abbreviation
29+
a.Abbreviation = a.Abbreviation + "_"
3030
}
3131
}
3232

0 commit comments

Comments
 (0)