Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
I
im-microservice
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Li Feifei
im-microservice
Commits
d5020a04
Commit
d5020a04
authored
Jul 15, 2020
by
李洪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
删除login 表信息
parent
25816068
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 additions
and
9 deletions
+1
-9
db.go
db/db.go
+1
-1
db_struct.go
db/db_struct.go
+0
-8
No files found.
db/db.go
View file @
d5020a04
...
...
@@ -57,7 +57,7 @@ func newMysqlClient() {
return
}
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
MysqlClient
=
orm
.
NewOrm
()
beeLogger
.
Log
.
Success
(
"MySQL connect success"
)
...
...
db/db_struct.go
View file @
d5020a04
...
...
@@ -80,11 +80,3 @@ type ImFriendRequest struct {
Createtime
string
Updatetime
string
}
type
ImUserLogin
struct
{
Id
int64
UserId
int64
LoginStatus
int64
Updatetime
string
Platform
string
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment