Commit 31586e0f by usual2970

添加日志

parent fd7d6424
......@@ -3,6 +3,7 @@ package controllers
import (
"github.com/astaxie/beego"
"github.com/usual2970/util/tel"
"github.com/astaxie/beego/logs"
"github.com/usual2970/util/service/models"
)
......@@ -30,7 +31,7 @@ func (c *TelController) Dial() {
resp,err:=telObj.Dial()
if err!=nil{
log.Info(string(err))
log.Info("err:%s",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