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
884c87e6
Commit
884c87e6
authored
May 20, 2025
by
赵文静
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改新闻播放
parent
2e1f8139
Pipeline
#5252
passed with stage
in 0 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
model/speech.go
model/speech.go
+1
-0
service/speechNlu/domain.go
service/speechNlu/domain.go
+2
-2
No files found.
model/speech.go
View file @
884c87e6
...
...
@@ -111,6 +111,7 @@ type Content struct {
Extra
struct
{
Dynasty
string
`json:"dynasty"`
ResType
string
`json:"resType"`
Source
string
`json:"source"`
}
`json:"extra"`
}
...
...
service/speechNlu/domain.go
View file @
884c87e6
...
...
@@ -220,8 +220,8 @@ func newsDomain(params *model.SpeechDomainParams) []byte {
res
.
ListItems
=
append
(
res
.
ListItems
,
map
[
string
]
interface
{}{
"url"
:
con
.
LinkUrl
,
"title"
:
con
.
Title
,
"newsFrom"
:
""
,
"newsType"
:
""
,
"newsFrom"
:
con
.
Extra
.
Source
,
//
"newsType": "",
})
}
...
...
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