|
@@ -1604,11 +1604,11 @@ public class AiHookServiceImpl implements AiHookService {
|
|
|
String[] split = role.getUserInfo().split(",");
|
|
String[] split = role.getUserInfo().split(",");
|
|
|
com.alibaba.fastjson.JSONObject userInfo = conversation.getUserInfo();
|
|
com.alibaba.fastjson.JSONObject userInfo = conversation.getUserInfo();
|
|
|
if(sessionUserInfo != null){
|
|
if(sessionUserInfo != null){
|
|
|
- Map<String,String> map = com.alibaba.fastjson.JSONObject.parseObject(sessionUserInfo, HashMap.class);
|
|
|
|
|
|
|
+ Map<String,Object> map = com.alibaba.fastjson.JSONObject.parseObject(sessionUserInfo, HashMap.class);
|
|
|
if(role.getUserInfo() != null){
|
|
if(role.getUserInfo() != null){
|
|
|
for (String name : split) {
|
|
for (String name : split) {
|
|
|
if (name != null) {
|
|
if (name != null) {
|
|
|
- String value = map.get(name);
|
|
|
|
|
|
|
+ Object value = map.get(name);
|
|
|
if(value != null){
|
|
if(value != null){
|
|
|
userInfo.put(name,value);
|
|
userInfo.put(name,value);
|
|
|
}else{
|
|
}else{
|