Commit 1058fa75 by Li Feifei

Merge branch 'develop' of http://gitlab.offcncloud.com/lff58407/im-microservice into develop

parents 70b91186 d5020a04
...@@ -57,7 +57,7 @@ func newMysqlClient() { ...@@ -57,7 +57,7 @@ func newMysqlClient() {
return return
} }
orm.RegisterModel(new(CompanyApp), new(ImBase), new(ImChatRoom), orm.RegisterModel(new(CompanyApp), new(ImBase), new(ImChatRoom),
new(ImUserRelationship), new(ImUser), new(ImFriendRequest), new(ImChatRoomUser), new(ImUserLogin)) new(ImUserRelationship), new(ImUser), new(ImFriendRequest), new(ImChatRoomUser))
orm.Debug = true orm.Debug = true
MysqlClient = orm.NewOrm() MysqlClient = orm.NewOrm()
beeLogger.Log.Success("MySQL connect success") beeLogger.Log.Success("MySQL connect success")
......
...@@ -80,11 +80,3 @@ type ImFriendRequest struct { ...@@ -80,11 +80,3 @@ type ImFriendRequest struct {
Createtime string Createtime string
Updatetime string Updatetime string
} }
type ImUserLogin struct {
Id int64
UserId int64
LoginStatus int64
Updatetime string
Platform string
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment