Error code standardization

This commit is contained in:
skiffer-git
2023-01-30 15:26:39 +08:00
parent d9eb55d9df
commit ec23d22d6d
5 changed files with 176 additions and 68 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ type Black struct {
func NewBlack(db *gorm.DB) *Black {
var black Black
black.DB = initModel(db, &black)
black.DB = db
return &black
}