diff --git a/GDZZ.Application/GDZZ.Application.xml b/GDZZ.Application/GDZZ.Application.xml index e2adc09..7ed1750 100644 --- a/GDZZ.Application/GDZZ.Application.xml +++ b/GDZZ.Application/GDZZ.Application.xml @@ -2722,6 +2722,16 @@ 文件名称 + + + 宽度 + + + + + 高度 + + 聊天服务 diff --git a/GDZZ.Application/Service/LiveHistoryContacts/Dto/LiveHistoryContactsOutput.cs b/GDZZ.Application/Service/LiveHistoryContacts/Dto/LiveHistoryContactsOutput.cs index 91a0550..542c97c 100644 --- a/GDZZ.Application/Service/LiveHistoryContacts/Dto/LiveHistoryContactsOutput.cs +++ b/GDZZ.Application/Service/LiveHistoryContacts/Dto/LiveHistoryContactsOutput.cs @@ -68,5 +68,16 @@ namespace GDZZ.Application /// 文件名称 /// public string FileUrl { get; set; } + + + /// + /// 宽度 + /// + public string Width { get; set; } + + /// + /// 高度 + /// + public int Height { get; set; } } } diff --git a/GDZZ.Core/Hubs/ChatHub.cs b/GDZZ.Core/Hubs/ChatHub.cs index 52467e9..3a8ae20 100644 --- a/GDZZ.Core/Hubs/ChatHub.cs +++ b/GDZZ.Core/Hubs/ChatHub.cs @@ -42,17 +42,18 @@ public class ChatHub : Hub if (await _sysOnlineUerRep.AsQueryable().Filter("TenantId", true).AnyAsync(m => m.Account.Equals(account))) { await _sysOnlineUerRep.DeleteAsync(m => m.Account == account && m.LastLoginIp == ip); } - - //OnlineUser user = new OnlineUser() { - // ConnectionId = Context.ConnectionId, - // UserId = long.Parse(userId), - // LastTime = DateTime.Now, - // LastLoginIp= ip, - // Account= account, - // Name=name, - // TenantId=Convert.ToInt64(tenantId) - //}; - //await _sysOnlineUerRep.InsertAsync(user); + + OnlineUser user = new OnlineUser() + { + ConnectionId = Context.ConnectionId, + UserId = long.Parse(userId), + LastTime = DateTime.Now, + LastLoginIp = ip, + Account = account, + Name = name, + TenantId = Convert.ToInt64(tenantId) + }; + await _sysOnlineUerRep.InsertAsync(user); } /// diff --git a/GDZZ.Web.Entry/wwwroot/Upload/Default/482865661067334.jpg b/GDZZ.Web.Entry/wwwroot/Upload/Default/482865661067334.jpg new file mode 100644 index 0000000..676cf44 Binary files /dev/null and b/GDZZ.Web.Entry/wwwroot/Upload/Default/482865661067334.jpg differ diff --git a/GDZZ.Web.Entry/wwwroot/Upload/Default/482865876377670.jpg b/GDZZ.Web.Entry/wwwroot/Upload/Default/482865876377670.jpg new file mode 100644 index 0000000..9e468db Binary files /dev/null and b/GDZZ.Web.Entry/wwwroot/Upload/Default/482865876377670.jpg differ diff --git a/GDZZ.Web.Entry/wwwroot/Upload/Default/483070977818693.jpg b/GDZZ.Web.Entry/wwwroot/Upload/Default/483070977818693.jpg new file mode 100644 index 0000000..676cf44 Binary files /dev/null and b/GDZZ.Web.Entry/wwwroot/Upload/Default/483070977818693.jpg differ diff --git a/GDZZ.Web.Entry/wwwroot/Upload/Default/483124620144710.jpg b/GDZZ.Web.Entry/wwwroot/Upload/Default/483124620144710.jpg new file mode 100644 index 0000000..676cf44 Binary files /dev/null and b/GDZZ.Web.Entry/wwwroot/Upload/Default/483124620144710.jpg differ diff --git a/GDZZ.Web.Entry/wwwroot/Upload/Default/483127894036549.doc b/GDZZ.Web.Entry/wwwroot/Upload/Default/483127894036549.doc new file mode 100644 index 0000000..ce2eb4f Binary files /dev/null and b/GDZZ.Web.Entry/wwwroot/Upload/Default/483127894036549.doc differ diff --git a/GDZZ.Web.Entry/wwwroot/Upload/Default/483128441380934.doc b/GDZZ.Web.Entry/wwwroot/Upload/Default/483128441380934.doc new file mode 100644 index 0000000..ce2eb4f Binary files /dev/null and b/GDZZ.Web.Entry/wwwroot/Upload/Default/483128441380934.doc differ diff --git a/GDZZ.Web.Entry/wwwroot/Upload/Default/483128689565766.doc b/GDZZ.Web.Entry/wwwroot/Upload/Default/483128689565766.doc new file mode 100644 index 0000000..e8f2e69 Binary files /dev/null and b/GDZZ.Web.Entry/wwwroot/Upload/Default/483128689565766.doc differ diff --git a/GDZZ.Web.Entry/wwwroot/Upload/Default/483142246617157.jpg b/GDZZ.Web.Entry/wwwroot/Upload/Default/483142246617157.jpg new file mode 100644 index 0000000..c6caad6 Binary files /dev/null and b/GDZZ.Web.Entry/wwwroot/Upload/Default/483142246617157.jpg differ diff --git a/GDZZ.Web.Entry/wwwroot/Upload/Default/483142440652870.jpg b/GDZZ.Web.Entry/wwwroot/Upload/Default/483142440652870.jpg new file mode 100644 index 0000000..c6caad6 Binary files /dev/null and b/GDZZ.Web.Entry/wwwroot/Upload/Default/483142440652870.jpg differ diff --git a/GDZZ.Web.Entry/wwwroot/Upload/Default/483147116408901.jpg b/GDZZ.Web.Entry/wwwroot/Upload/Default/483147116408901.jpg new file mode 100644 index 0000000..c6caad6 Binary files /dev/null and b/GDZZ.Web.Entry/wwwroot/Upload/Default/483147116408901.jpg differ diff --git a/GDZZ.Web.Entry/wwwroot/Upload/Default/483147273601094.jpg b/GDZZ.Web.Entry/wwwroot/Upload/Default/483147273601094.jpg new file mode 100644 index 0000000..c6caad6 Binary files /dev/null and b/GDZZ.Web.Entry/wwwroot/Upload/Default/483147273601094.jpg differ diff --git a/GDZZ.Web.Entry/wwwroot/Upload/Default/483149168386117.jpg b/GDZZ.Web.Entry/wwwroot/Upload/Default/483149168386117.jpg new file mode 100644 index 0000000..c6caad6 Binary files /dev/null and b/GDZZ.Web.Entry/wwwroot/Upload/Default/483149168386117.jpg differ diff --git a/GDZZ.Web.Entry/wwwroot/Upload/Default/483149308538950.jpg b/GDZZ.Web.Entry/wwwroot/Upload/Default/483149308538950.jpg new file mode 100644 index 0000000..c6caad6 Binary files /dev/null and b/GDZZ.Web.Entry/wwwroot/Upload/Default/483149308538950.jpg differ diff --git a/GDZZ.Web.Entry/wwwroot/Upload/Default/483149439606854.jpg b/GDZZ.Web.Entry/wwwroot/Upload/Default/483149439606854.jpg new file mode 100644 index 0000000..c6caad6 Binary files /dev/null and b/GDZZ.Web.Entry/wwwroot/Upload/Default/483149439606854.jpg differ diff --git a/GDZZ.Web.Entry/wwwroot/Upload/Default/483150017974342.jpg b/GDZZ.Web.Entry/wwwroot/Upload/Default/483150017974342.jpg new file mode 100644 index 0000000..c6caad6 Binary files /dev/null and b/GDZZ.Web.Entry/wwwroot/Upload/Default/483150017974342.jpg differ diff --git a/GDZZ.Web.Entry/wwwroot/Upload/Default/483150058864710.jpg b/GDZZ.Web.Entry/wwwroot/Upload/Default/483150058864710.jpg new file mode 100644 index 0000000..30a0733 Binary files /dev/null and b/GDZZ.Web.Entry/wwwroot/Upload/Default/483150058864710.jpg differ diff --git a/GDZZ.Web.Entry/wwwroot/Upload/Default/483150328131654.jpg b/GDZZ.Web.Entry/wwwroot/Upload/Default/483150328131654.jpg new file mode 100644 index 0000000..65c7d29 Binary files /dev/null and b/GDZZ.Web.Entry/wwwroot/Upload/Default/483150328131654.jpg differ diff --git a/GDZZ.Web.Entry/wwwroot/Upload/Default/483151573782598.jpg b/GDZZ.Web.Entry/wwwroot/Upload/Default/483151573782598.jpg new file mode 100644 index 0000000..c6caad6 Binary files /dev/null and b/GDZZ.Web.Entry/wwwroot/Upload/Default/483151573782598.jpg differ diff --git a/GDZZ.Web.Entry/wwwroot/Upload/Default/483152165490758.jpg b/GDZZ.Web.Entry/wwwroot/Upload/Default/483152165490758.jpg new file mode 100644 index 0000000..c6caad6 Binary files /dev/null and b/GDZZ.Web.Entry/wwwroot/Upload/Default/483152165490758.jpg differ diff --git a/GDZZ.Web.Entry/wwwroot/Upload/Default/483157522300998.jpg b/GDZZ.Web.Entry/wwwroot/Upload/Default/483157522300998.jpg new file mode 100644 index 0000000..c6caad6 Binary files /dev/null and b/GDZZ.Web.Entry/wwwroot/Upload/Default/483157522300998.jpg differ diff --git a/GDZZ.Web.Entry/wwwroot/Upload/Default/483157677928518.jpg b/GDZZ.Web.Entry/wwwroot/Upload/Default/483157677928518.jpg new file mode 100644 index 0000000..c6caad6 Binary files /dev/null and b/GDZZ.Web.Entry/wwwroot/Upload/Default/483157677928518.jpg differ diff --git a/GDZZ.Web.Entry/wwwroot/Upload/Default/483158323404870.jpg b/GDZZ.Web.Entry/wwwroot/Upload/Default/483158323404870.jpg new file mode 100644 index 0000000..c6caad6 Binary files /dev/null and b/GDZZ.Web.Entry/wwwroot/Upload/Default/483158323404870.jpg differ diff --git a/GDZZ.Web.Entry/wwwroot/Upload/Default/483158916542534.jpg b/GDZZ.Web.Entry/wwwroot/Upload/Default/483158916542534.jpg new file mode 100644 index 0000000..c6caad6 Binary files /dev/null and b/GDZZ.Web.Entry/wwwroot/Upload/Default/483158916542534.jpg differ diff --git a/GDZZ.Web.Entry/wwwroot/Upload/Default/483162574458949.jpg b/GDZZ.Web.Entry/wwwroot/Upload/Default/483162574458949.jpg new file mode 100644 index 0000000..c6caad6 Binary files /dev/null and b/GDZZ.Web.Entry/wwwroot/Upload/Default/483162574458949.jpg differ diff --git a/GDZZ.Web.Entry/wwwroot/Upload/Default/483178661810246.doc b/GDZZ.Web.Entry/wwwroot/Upload/Default/483178661810246.doc new file mode 100644 index 0000000..ce2eb4f Binary files /dev/null and b/GDZZ.Web.Entry/wwwroot/Upload/Default/483178661810246.doc differ diff --git a/GDZZ.Web.Entry/wwwroot/Upload/Default/483488755765317.jpg b/GDZZ.Web.Entry/wwwroot/Upload/Default/483488755765317.jpg new file mode 100644 index 0000000..767bc4b Binary files /dev/null and b/GDZZ.Web.Entry/wwwroot/Upload/Default/483488755765317.jpg differ diff --git a/GDZZ.Web.Entry/wwwroot/Upload/Default/483489001885766.jpg b/GDZZ.Web.Entry/wwwroot/Upload/Default/483489001885766.jpg new file mode 100644 index 0000000..9e468db Binary files /dev/null and b/GDZZ.Web.Entry/wwwroot/Upload/Default/483489001885766.jpg differ diff --git a/GDZZ.Web.Entry/wwwroot/Upload/Default/483489098088518.jpg b/GDZZ.Web.Entry/wwwroot/Upload/Default/483489098088518.jpg new file mode 100644 index 0000000..9e468db Binary files /dev/null and b/GDZZ.Web.Entry/wwwroot/Upload/Default/483489098088518.jpg differ diff --git a/GDZZ.Web.Entry/wwwroot/Upload/Default/483489446195270.jpg b/GDZZ.Web.Entry/wwwroot/Upload/Default/483489446195270.jpg new file mode 100644 index 0000000..9e468db Binary files /dev/null and b/GDZZ.Web.Entry/wwwroot/Upload/Default/483489446195270.jpg differ diff --git a/GDZZ.Web.Entry/wwwroot/Upload/Default/483489593692230.jpg b/GDZZ.Web.Entry/wwwroot/Upload/Default/483489593692230.jpg new file mode 100644 index 0000000..45cea91 Binary files /dev/null and b/GDZZ.Web.Entry/wwwroot/Upload/Default/483489593692230.jpg differ diff --git a/GDZZ.Web.Entry/wwwroot/Upload/Default/483489656942662.jpg b/GDZZ.Web.Entry/wwwroot/Upload/Default/483489656942662.jpg new file mode 100644 index 0000000..9e468db Binary files /dev/null and b/GDZZ.Web.Entry/wwwroot/Upload/Default/483489656942662.jpg differ diff --git a/GDZZ.Web.Entry/wwwroot/Upload/Default/483489827598406.jpg b/GDZZ.Web.Entry/wwwroot/Upload/Default/483489827598406.jpg new file mode 100644 index 0000000..9e468db Binary files /dev/null and b/GDZZ.Web.Entry/wwwroot/Upload/Default/483489827598406.jpg differ diff --git a/GDZZ.Web.Entry/wwwroot/Upload/Default/483490005704774.jpg b/GDZZ.Web.Entry/wwwroot/Upload/Default/483490005704774.jpg new file mode 100644 index 0000000..5164fca Binary files /dev/null and b/GDZZ.Web.Entry/wwwroot/Upload/Default/483490005704774.jpg differ diff --git a/GDZZ.Web.Entry/wwwroot/Upload/Default/483490190671942.jpg b/GDZZ.Web.Entry/wwwroot/Upload/Default/483490190671942.jpg new file mode 100644 index 0000000..9e468db Binary files /dev/null and b/GDZZ.Web.Entry/wwwroot/Upload/Default/483490190671942.jpg differ diff --git a/GDZZ.Web.Entry/wwwroot/Upload/Default/483490222833734.jpg b/GDZZ.Web.Entry/wwwroot/Upload/Default/483490222833734.jpg new file mode 100644 index 0000000..9e468db Binary files /dev/null and b/GDZZ.Web.Entry/wwwroot/Upload/Default/483490222833734.jpg differ diff --git a/GDZZ.Web.Entry/wwwroot/Upload/Default/483493605695558.jpg b/GDZZ.Web.Entry/wwwroot/Upload/Default/483493605695558.jpg new file mode 100644 index 0000000..9e468db Binary files /dev/null and b/GDZZ.Web.Entry/wwwroot/Upload/Default/483493605695558.jpg differ diff --git a/GDZZ.Web.Entry/wwwroot/Upload/Default/483499245260870.jpg b/GDZZ.Web.Entry/wwwroot/Upload/Default/483499245260870.jpg new file mode 100644 index 0000000..9e468db Binary files /dev/null and b/GDZZ.Web.Entry/wwwroot/Upload/Default/483499245260870.jpg differ diff --git a/GDZZ.Web.Entry/wwwroot/Upload/Default/483528548061253.jpg b/GDZZ.Web.Entry/wwwroot/Upload/Default/483528548061253.jpg new file mode 100644 index 0000000..9e468db Binary files /dev/null and b/GDZZ.Web.Entry/wwwroot/Upload/Default/483528548061253.jpg differ diff --git a/GDZZ.Web.Entry/wwwroot/Upload/Default/483528608747590.jpg b/GDZZ.Web.Entry/wwwroot/Upload/Default/483528608747590.jpg new file mode 100644 index 0000000..9e468db Binary files /dev/null and b/GDZZ.Web.Entry/wwwroot/Upload/Default/483528608747590.jpg differ diff --git a/GDZZ.Web.Entry/wwwroot/Upload/Default/483528897716294.jpg b/GDZZ.Web.Entry/wwwroot/Upload/Default/483528897716294.jpg new file mode 100644 index 0000000..9e468db Binary files /dev/null and b/GDZZ.Web.Entry/wwwroot/Upload/Default/483528897716294.jpg differ diff --git a/GDZZ.Web.Entry/wwwroot/Upload/Default/483530439684166.jpg b/GDZZ.Web.Entry/wwwroot/Upload/Default/483530439684166.jpg new file mode 100644 index 0000000..45cea91 Binary files /dev/null and b/GDZZ.Web.Entry/wwwroot/Upload/Default/483530439684166.jpg differ diff --git a/GDZZ.Web.Entry/wwwroot/Upload/Default/483542308978758.jpg b/GDZZ.Web.Entry/wwwroot/Upload/Default/483542308978758.jpg new file mode 100644 index 0000000..9e468db Binary files /dev/null and b/GDZZ.Web.Entry/wwwroot/Upload/Default/483542308978758.jpg differ diff --git a/GDZZ.Web.Entry/wwwroot/Upload/Default/483548585435206.jpg b/GDZZ.Web.Entry/wwwroot/Upload/Default/483548585435206.jpg new file mode 100644 index 0000000..9e468db Binary files /dev/null and b/GDZZ.Web.Entry/wwwroot/Upload/Default/483548585435206.jpg differ diff --git a/GDZZ.Web.Entry/wwwroot/Upload/Default/483548664881222.jpg b/GDZZ.Web.Entry/wwwroot/Upload/Default/483548664881222.jpg new file mode 100644 index 0000000..9e468db Binary files /dev/null and b/GDZZ.Web.Entry/wwwroot/Upload/Default/483548664881222.jpg differ diff --git a/GDZZ.Web.Entry/wwwroot/Upload/Default/483563071914054.jpg b/GDZZ.Web.Entry/wwwroot/Upload/Default/483563071914054.jpg new file mode 100644 index 0000000..9e468db Binary files /dev/null and b/GDZZ.Web.Entry/wwwroot/Upload/Default/483563071914054.jpg differ diff --git a/GDZZ.Web.Entry/wwwroot/Upload/Default/483563252731974.jpg b/GDZZ.Web.Entry/wwwroot/Upload/Default/483563252731974.jpg new file mode 100644 index 0000000..9e468db Binary files /dev/null and b/GDZZ.Web.Entry/wwwroot/Upload/Default/483563252731974.jpg differ diff --git a/GDZZ.Web.Entry/wwwroot/Upload/Default/483563419484230.jpg b/GDZZ.Web.Entry/wwwroot/Upload/Default/483563419484230.jpg new file mode 100644 index 0000000..9e468db Binary files /dev/null and b/GDZZ.Web.Entry/wwwroot/Upload/Default/483563419484230.jpg differ diff --git a/GDZZ.Web.Entry/wwwroot/Upload/Default/483563520831558.jpg b/GDZZ.Web.Entry/wwwroot/Upload/Default/483563520831558.jpg new file mode 100644 index 0000000..9e468db Binary files /dev/null and b/GDZZ.Web.Entry/wwwroot/Upload/Default/483563520831558.jpg differ