fix: 修复绑定用户时返回值未包含用户ID的问题

This commit is contained in:
ccnetcore
2025-08-30 21:58:43 +08:00
parent 72387235a0
commit 96a09d8980

View File

@@ -240,7 +240,7 @@ public class FuwuhaoManager : DomainService
//说明没有绑定过,直接绑定 //说明没有绑定过,直接绑定
await _userRepository.InsertAsync(new AiUserExtraInfoEntity(bindUserId.Value, openId)); await _userRepository.InsertAsync(new AiUserExtraInfoEntity(bindUserId.Value, openId));
return (SceneResultEnum.Bind,null); return (SceneResultEnum.Bind,bindUserId);
break; break;
default: default:
throw new ArgumentOutOfRangeException(nameof(sceneType), sceneType, null); throw new ArgumentOutOfRangeException(nameof(sceneType), sceneType, null);