Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
sdream-ai-fe
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
侯明涛
sdream-ai-fe
Commits
10d7d167
Commit
10d7d167
authored
Dec 18, 2025
by
Liu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:创建会话时新增参数
parent
f7abcbf9
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
src/pages/ChatTactics/TacticsChat.tsx
+4
-2
src/pages/ChatTactics/TacticsHome.tsx
+2
-1
No files found.
src/pages/ChatTactics/TacticsChat.tsx
View file @
10d7d167
...
...
@@ -113,7 +113,8 @@ export const TacticsChat: React.FC = () => {
if
(
userMeta
?.
place
===
'user'
)
{
return
{
busiType
:
'02'
,
busiId
:
userMeta
.
userId
,
// place=user 场景下,业务方要求 busiId 取 numberType
busiId
:
userMeta
.
numberType
,
}
}
if
(
tacticsMeta
)
{
...
...
@@ -439,7 +440,8 @@ export const TacticsChat: React.FC = () => {
// from=tactics 场景下补充业务识别参数
if
(
userMeta
?.
place
===
'user'
)
{
requestBody
.
busiType
??
=
'02'
requestBody
.
busiId
??
=
userMeta
.
userId
// place=user 场景下,业务方要求 busiId 取 numberType
requestBody
.
busiId
??
=
userMeta
.
numberType
// 当缓存内存在 place=user 时,始终使用缓存中的 numberType 作为接口参数
if
(
userMeta
.
numberType
)
{
requestBody
.
numberType
=
userMeta
.
numberType
...
...
src/pages/ChatTactics/TacticsHome.tsx
View file @
10d7d167
...
...
@@ -67,7 +67,8 @@ export const TacticsHome: React.FC = () => {
if
(
userMeta
?.
place
===
'user'
)
{
return
{
busiType
:
'02'
,
busiId
:
userMeta
.
userId
,
// place=user 场景下,业务方要求 busiId 取 numberType
busiId
:
userMeta
.
numberType
,
}
}
if
(
tacticsMeta
)
{
...
...
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