Commit 636919ef by usual2970

as

parent c1cf6424
......@@ -4,6 +4,7 @@ import (
"github.com/astaxie/beego"
"github.com/usual2970/util/tel"
"github.com/usual2970/util/service/models"
"log"
)
type TelController struct {
......@@ -30,6 +31,8 @@ func (c *TelController) Dial() {
resp,err:=telObj.Dial()
if err!=nil{
log.SetFlags(log.Lshortfile | log.LstdFlags)
log.Println( err)
rs.ErrNo="2"
rs.Msg="拨打失败"
break
......
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