更新聊天机制

development
温天培 1 year ago
parent c0b827dd1c
commit 055328e706

@ -2722,6 +2722,16 @@
文件名称 文件名称
</summary> </summary>
</member> </member>
<member name="P:GDZZ.Application.LiveFileOutput.Width">
<summary>
宽度
</summary>
</member>
<member name="P:GDZZ.Application.LiveFileOutput.Height">
<summary>
高度
</summary>
</member>
<member name="T:GDZZ.Application.LiveHistoryContactsService"> <member name="T:GDZZ.Application.LiveHistoryContactsService">
<summary> <summary>
聊天服务 聊天服务

@ -68,5 +68,16 @@ namespace GDZZ.Application
/// 文件名称 /// 文件名称
/// </summary> /// </summary>
public string FileUrl { get; set; } public string FileUrl { get; set; }
/// <summary>
/// 宽度
/// </summary>
public string Width { get; set; }
/// <summary>
/// 高度
/// </summary>
public int Height { get; set; }
} }
} }

@ -43,16 +43,17 @@ public class ChatHub : Hub<IChatClient>
await _sysOnlineUerRep.DeleteAsync(m => m.Account == account && m.LastLoginIp == ip); await _sysOnlineUerRep.DeleteAsync(m => m.Account == account && m.LastLoginIp == ip);
} }
//OnlineUser user = new OnlineUser() { OnlineUser user = new OnlineUser()
// ConnectionId = Context.ConnectionId, {
// UserId = long.Parse(userId), ConnectionId = Context.ConnectionId,
// LastTime = DateTime.Now, UserId = long.Parse(userId),
// LastLoginIp= ip, LastTime = DateTime.Now,
// Account= account, LastLoginIp = ip,
// Name=name, Account = account,
// TenantId=Convert.ToInt64(tenantId) Name = name,
//}; TenantId = Convert.ToInt64(tenantId)
//await _sysOnlineUerRep.InsertAsync(user); };
await _sysOnlineUerRep.InsertAsync(user);
} }
/// <summary> /// <summary>

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 454 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 490 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 61 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Loading…
Cancel
Save