Commit 1fbf75db by Liu

fix:用户画像提问接口参数

parent 0a6409ce
......@@ -464,10 +464,8 @@ export const TacticsChat: React.FC = () => {
}
else if (userMeta?.place === 'user') {
requestBody.busiType ??= '02'
// place=user 场景下,业务方要求 busiId 取 userId:numberType,若numberType为空则只传userId
requestBody.busiId ??= userMeta.userId && userMeta.numberType
? `${userMeta.userId}:${userMeta.numberType}`
: userMeta.userId || userMeta.numberType
// place=user 场景下,业务方要求 busiId 取 userId:numberType
requestBody.busiId ??= userMeta.numberType
// 当缓存内存在 place=user 时,始终使用缓存中的 numberType 作为接口参数
if (userMeta.numberType) {
requestBody.numberType = userMeta.numberType
......
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