Commit 7a48b6ee by huangchengyi

1.0

parent 24e27476
Showing with 3 additions and 1 deletions
......@@ -125,11 +125,13 @@ func Hbsdata(ctx *gin.Context) {
测试redis
*/
func Testr(ctx *gin.Context) {
time1 := time.Now().UnixNano() / 1e6
redisConn := gredis.Conn("search_r")
defer func() {
redisConn.Close()
}()
time1 := time.Now().UnixNano() / 1e6
goods_ids := ctx.Request.FormValue("goods_ids")
skuArr := gredis.Hmget("default_r", "sku", php2go.Explode(",", goods_ids));
......
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 sign in to comment