Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
dj-car-boutique-work-wechat
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
1
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit c2a4404c
authored
Aug 01, 2024
by
前端
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
对话
1 parent
9cd3c86e
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
3 deletions
packageEquity/pages/aiCheck/chat/chat.js
packageEquity/pages/aiCheck/result/result.js
packageEquity/pages/aiCheck/chat/chat.js
View file @
c2a4404
...
@@ -96,6 +96,7 @@ Page({
...
@@ -96,6 +96,7 @@ Page({
}
}
const
chatList
=
JSON
.
stringify
(
audioBox
.
data
.
list
);
const
chatList
=
JSON
.
stringify
(
audioBox
.
data
.
list
);
wx
.
setStorageSync
(
"chatList"
,
chatList
);
wx
.
setStorageSync
(
"chatList"
,
chatList
);
wx
.
setStorageSync
(
"history_message"
,
history_message
);
const
{
const
{
batch_id
,
batch_id
,
roleType
,
roleType
,
...
@@ -103,9 +104,17 @@ Page({
...
@@ -103,9 +104,17 @@ Page({
sparringTaskId
,
sparringTaskId
,
entry
entry
}
=
this
.
data
;
}
=
this
.
data
;
console
.
log
(
entry
)
// wx.$router.go("/packageEquity/pages/aiCheck/result/result", {
// roleType,
// duration,
// history_message,
// batch_id,
// sparringLink: step,
// sparringTaskId,
// entry
// })
wx
.
redirectTo
({
wx
.
redirectTo
({
url
:
`/packageEquity/pages/aiCheck/result/result?roleType=
${
roleType
}
&duration=
${
duration
}
&
history_message=
${
history_message
}
&
batch_id=
${
batch_id
}
&sparringLink=
${
step
}
&sparringTaskId=
${
sparringTaskId
}
&entry=
${
entry
}
`
,
url
:
`/packageEquity/pages/aiCheck/result/result?roleType=
${
roleType
}
&duration=
${
duration
}
&batch_id=
${
batch_id
}
&sparringLink=
${
step
}
&sparringTaskId=
${
sparringTaskId
}
&entry=
${
entry
}
`
,
});
});
},
},
toBottom
()
{
toBottom
()
{
...
...
packageEquity/pages/aiCheck/result/result.js
View file @
c2a4404
...
@@ -184,7 +184,6 @@ Page({
...
@@ -184,7 +184,6 @@ Page({
*/
*/
async
onLoad
(
options
)
{
async
onLoad
(
options
)
{
const
{
const
{
history_message
,
duration
,
duration
,
batch_id
,
batch_id
,
roleType
,
roleType
,
...
@@ -214,6 +213,7 @@ Page({
...
@@ -214,6 +213,7 @@ Page({
id
id
})
})
}
else
{
}
else
{
const
history_message
=
wx
.
getStorageSync
(
"history_message"
)
const
sensitiveRes
=
await
aiApi
.
getSensitive
({
const
sensitiveRes
=
await
aiApi
.
getSensitive
({
history_message
history_message
})
})
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment