|
|
@@ -8,6 +8,7 @@ import (
|
|
|
"fohow.com/apps"
|
|
|
"fohow.com/apps/helpers"
|
|
|
"fohow.com/apps/models/express_model"
|
|
|
+ "github.com/astaxie/beego"
|
|
|
"io/ioutil"
|
|
|
"net/http"
|
|
|
"net/url"
|
|
|
@@ -94,7 +95,7 @@ func (self *ToolController) GetExpressInfo() {
|
|
|
//将数据存入 redis
|
|
|
key := fmt.Sprintf("express.GetExpressInfo(%s)", expressNo)
|
|
|
ok, retStr := helpers.GetRedisValue(key)
|
|
|
- fmt.Errorf("返回字符:\r\n%v%s", retStr, retStr)
|
|
|
+ beego.BeeLogger.Info("返回字符:\r\n%v%s", retStr, retStr)
|
|
|
|
|
|
if ok {
|
|
|
json.Unmarshal([]byte(retStr), &ret)
|