|
|
@@ -6,6 +6,7 @@ import (
|
|
|
"fohow.com/apps/models/user_model"
|
|
|
"fohow.com/libs/lib_redis"
|
|
|
"fohow.com/libs/wx_mp"
|
|
|
+ "github.com/astaxie/beego"
|
|
|
"math/rand"
|
|
|
"strings"
|
|
|
"time"
|
|
|
@@ -61,6 +62,7 @@ func (self *TestController) GetUserInfoFromRedis() {
|
|
|
lib_redis.SetJsonEx(key, resp, 90*60)
|
|
|
|
|
|
}
|
|
|
+ beego.BeeLogger.Warn("resp---%v", resp)
|
|
|
|
|
|
//-------测试数组------------//
|
|
|
key_ar := fmt.Sprintf("array_userinfo_a")
|
|
|
@@ -72,7 +74,7 @@ func (self *TestController) GetUserInfoFromRedis() {
|
|
|
lib_redis.SetJsonEx(key_ar, resp_ar, 90*60)
|
|
|
|
|
|
}
|
|
|
-
|
|
|
+ beego.BeeLogger.Warn("resp_ar---%v", resp_ar)
|
|
|
type Ret struct {
|
|
|
Resp interface{} `json:"resp"`
|
|
|
}
|