Commit 27ee0a8a authored by 赵文静's avatar 赵文静

修改key

parent 6bf26474
......@@ -33,7 +33,7 @@ Content-Type: application/json
},
"nluRet": {
"asr_recongize": "",
"text": "咏鹅"
"text": "播放周杰伦的音乐"
}
},
"version": "v0"
......
......@@ -43,7 +43,7 @@ func UpdateSession(mac, sessionId string) { //, expiration time.Duration
}
func getSessionKey(mac string) string {
return fmt.Sprintf("session:%s", mac)
return fmt.Sprintf("snp:rsid:%s:str", mac)
}
// GetSession 根据 MAC 地址查询对应的 sessionId
......
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