Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
speech_nlu_parse
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Package Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵文静
speech_nlu_parse
Commits
27ee0a8a
Commit
27ee0a8a
authored
Jun 13, 2025
by
赵文静
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改key
parent
6bf26474
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
c2c.http
c2c.http
+1
-1
pkg/database/redis.go
pkg/database/redis.go
+1
-1
No files found.
c2c.http
View file @
27ee0a8a
...
...
@@ -33,7 +33,7 @@ Content-Type: application/json
},
"nluRet": {
"asr_recongize": "",
"text": "
咏鹅
"
"text": "
播放周杰伦的音乐
"
}
},
"version": "v0"
...
...
pkg/database/redis.go
View file @
27ee0a8a
...
...
@@ -43,7 +43,7 @@ func UpdateSession(mac, sessionId string) { //, expiration time.Duration
}
func
getSessionKey
(
mac
string
)
string
{
return
fmt
.
Sprintf
(
"s
ession:%s
"
,
mac
)
return
fmt
.
Sprintf
(
"s
np:rsid:%s:str
"
,
mac
)
}
// GetSession 根据 MAC 地址查询对应的 sessionId
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment