Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
U
util
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
刘旋尧
util
Commits
31586e0f
Commit
31586e0f
authored
Dec 12, 2016
by
usual2970
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加日志
parent
fd7d6424
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
+2
-1
tel.go
service/controllers/tel.go
+2
-1
No files found.
service/controllers/tel.go
View file @
31586e0f
...
@@ -3,6 +3,7 @@ package controllers
...
@@ -3,6 +3,7 @@ package controllers
import
(
import
(
"github.com/astaxie/beego"
"github.com/astaxie/beego"
"github.com/usual2970/util/tel"
"github.com/usual2970/util/tel"
"github.com/astaxie/beego/logs"
"github.com/usual2970/util/service/models"
"github.com/usual2970/util/service/models"
)
)
...
@@ -30,7 +31,7 @@ func (c *TelController) Dial() {
...
@@ -30,7 +31,7 @@ func (c *TelController) Dial() {
resp
,
err
:=
telObj
.
Dial
()
resp
,
err
:=
telObj
.
Dial
()
if
err
!=
nil
{
if
err
!=
nil
{
log
.
Info
(
string
(
err
)
)
log
.
Info
(
"err:%s"
,
err
)
rs
.
ErrNo
=
"2"
rs
.
ErrNo
=
"2"
rs
.
Msg
=
"拨打失败"
rs
.
Msg
=
"拨打失败"
break
break
...
...
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