Commit 463d829d authored by 赵文静's avatar 赵文静

修改日志

parent 49d12b0d
Pipeline #5462 passed with stage
in 0 seconds
...@@ -2,6 +2,8 @@ ...@@ -2,6 +2,8 @@
## [0.0.1-beta.4] - 2025.6.24 ## [0.0.1-beta.4] - 2025.6.24
### Changed ### Changed
- 增加音乐专辑字段 - 增加音乐专辑字段
- 修改日志打印
- 故事返回增加专辑字段
## [0.0.1-beta.3] - 2025.6.19 ## [0.0.1-beta.3] - 2025.6.19
### Changed ### Changed
......
...@@ -10,14 +10,15 @@ Content-Type: application/json ...@@ -10,14 +10,15 @@ Content-Type: application/json
} }
### ###
POST http://172.28.54.27:13302/semantic/unisoundc2c/speech-nlu-parse #POST http://172.28.54.27:13302/semantic/unisoundc2c/speech-nlu-parse
POST http://172.28.124.110:13302/semantic/unisoundc2c/speech-nlu-parse
Content-Type: application/json Content-Type: application/json
{ {
"ip": "14.215.222.17", "ip": "14.215.222.17",
"mac": "ece154a865eb", "mac": "ece154a865eb",
"mid": "11011", "mid": "11011",
"query":"播放音乐", "query":"播放故事",
"requestId": "123456111" "requestId": "123456111"
} }
...@@ -79,7 +80,7 @@ Content-Type: application/json ...@@ -79,7 +80,7 @@ Content-Type: application/json
"trafficParameter": "mode=childxx;macWifi=ece154a73d38;mid=11011;macVoice=testyuntiancloud;ver=3.0;scenario=smarthome;filterName=nlu;req_nlu_length=1;returnType=json;fullDuplex=true;appendLength=1;additionalService=geli_nlu2;version=0.5;filterUrl=https://testnlu.gree.com:443/semantic/unisoundc2c/querys;" "trafficParameter": "mode=childxx;macWifi=ece154a73d38;mid=11011;macVoice=testyuntiancloud;ver=3.0;scenario=smarthome;filterName=nlu;req_nlu_length=1;returnType=json;fullDuplex=true;appendLength=1;additionalService=geli_nlu2;version=0.5;filterUrl=https://testnlu.gree.com:443/semantic/unisoundc2c/querys;"
}, },
"nluRet": { "nluRet": {
"text": "我有几个提醒" "text": "播放故事"
}, },
"postProc": {} "postProc": {}
} }
......
...@@ -675,6 +675,7 @@ func fmDomain(params *model.SpeechDomainParams) []byte { ...@@ -675,6 +675,7 @@ func fmDomain(params *model.SpeechDomainParams) []byte {
res.ListItems = append(res.ListItems, map[string]interface{}{ res.ListItems = append(res.ListItems, map[string]interface{}{
"url": con.LinkUrl, "url": con.LinkUrl,
"title": con.Title, "title": con.Title,
"content": con.Album,
}) })
} }
......
...@@ -162,7 +162,7 @@ func receiveMessage(conn *websocket.Conn, done chan struct{}, dataChan chan<- [] ...@@ -162,7 +162,7 @@ func receiveMessage(conn *websocket.Conn, done chan struct{}, dataChan chan<- []
"requestId": requestId, "requestId": requestId,
"origin-data": string(message), "origin-data": string(message),
"time": time.Since(start).Seconds(), "time": time.Since(start).Seconds(),
}).Info("原始消息") }).Info("speech origin data")
//思必驰nlu回复 //思必驰nlu回复
var resp model.SpeechWsResp var resp model.SpeechWsResp
......
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