Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
CnChunfeng
/
crm_server
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
8fd9c05a
authored
Apr 23, 2020
by
Joneq
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
测试连接
parent
63647e6a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
cmd/main.go
cmd/main.go
View file @
8fd9c05a
...
@@ -27,4 +27,11 @@ func main() {
...
@@ -27,4 +27,11 @@ func main() {
fmt
.
Println
(
err
)
fmt
.
Println
(
err
)
}
}
fmt
.
Println
(
user_info
.
Mobile
)
fmt
.
Println
(
user_info
.
Mobile
)
//查找手机号
err
=
dao
.
GetLiexinDb
()
.
QueryRowx
(
"select mobile from lie_user_main where user_id = ?"
,
1
)
.
StructScan
(
&
user_info
)
if
err
!=
nil
{
fmt
.
Println
(
err
)
}
fmt
.
Println
(
user_info
.
Mobile
)
}
}
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