|
|
@@ -94,8 +94,11 @@ 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)
|
|
|
+
|
|
|
if ok {
|
|
|
json.Unmarshal([]byte(retStr), &ret)
|
|
|
+
|
|
|
} else {
|
|
|
//发送请求
|
|
|
data, err := Get(juheURL, param)
|