Refactor code

pull/131/head
wenxu12345 3 years ago
parent 7e88621aa1
commit 0e39aac5cd

@ -159,9 +159,9 @@ type User struct {
//} //}
// open_im_sdk.BlackInfo(BlackUserInfo) != imdb.Black (BlockUserID) // open_im_sdk.BlackInfo(BlackUserInfo) != imdb.Black (BlockUserID)
type Black struct { type Black struct {
OwnerUserID string `gorm:"column:owner_user_id;primaryKey;size:256"` OwnerUserID string `gorm:"column:owner_user_id;primary_key;size:64"`
CreateTime time.Time `gorm:"column:create_time"` CreateTime time.Time `gorm:"column:create_time"`
BlockUserID string `gorm:"column:block_user_id;primaryKey;"` BlockUserID string `gorm:"column:block_user_id;primary_key;size:64"`
AddSource int32 `gorm:"column:add_source"` AddSource int32 `gorm:"column:add_source"`
OperatorUserID string `gorm:"column:operator_user_id"` OperatorUserID string `gorm:"column:operator_user_id"`
Ex string `gorm:"column:ex"` Ex string `gorm:"column:ex"`

Loading…
Cancel
Save