Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode

# Conflicts:
#	pkg/common/mw/rpc_server_interceptor.go
test-errcode
wangchuxiao 2 years ago
parent 8dea2cacf4
commit becd3eb8f1

@ -16,9 +16,9 @@ func NewUserGorm(db *gorm.DB) relation.UserModelInterface {
return &UserGorm{DB: db.Model(&relation.UserModel{})}
}
func (u *UserGorm) db() gorm.DB {
func (u *UserGorm) db() *gorm.DB {
newDB := *u.DB
return newDB
return &newDB
}
// 插入多条

Loading…
Cancel
Save