diff --git a/src/0-core/HuanMeng.MiaoYu.Code/Users/UserAccount/PhoneAccount/PhoneAccountLogin.cs b/src/0-core/HuanMeng.MiaoYu.Code/Users/UserAccount/PhoneAccount/PhoneAccountLogin.cs index bd1bb57..c668838 100644 --- a/src/0-core/HuanMeng.MiaoYu.Code/Users/UserAccount/PhoneAccount/PhoneAccountLogin.cs +++ b/src/0-core/HuanMeng.MiaoYu.Code/Users/UserAccount/PhoneAccount/PhoneAccountLogin.cs @@ -48,7 +48,7 @@ namespace HuanMeng.MiaoYu.Code.Users.UserAccount.PhoneAccount } catch (Exception ex) { - return new BaseResponse(ResonseCode.Error, "出现异常", false); + return new BaseResponse(ResonseCode.Error, "出现异常" + ex.Message, false); } var day = int.Parse(DateTime.Now.ToString("yyyyMMdd")); var phoneCount = dao.daoDbMiaoYu.context.T_Verification_Code.Where(it => it.Key == phone && it.CreateDay == day).Count(); @@ -147,7 +147,7 @@ namespace HuanMeng.MiaoYu.Code.Users.UserAccount.PhoneAccount UserId = user.Id, TenantId = dao.daoDbMiaoYu.context.TenantInfo.TenantId, UserIconUrl = "", - + }; dao.daoDbMiaoYu.context.Add(userData); } diff --git a/src/0-core/HuanMeng.MiaoYu.Model/Dto/Chat/ChatHistoryInfo.cs b/src/0-core/HuanMeng.MiaoYu.Model/Dto/Chat/ChatHistoryInfo.cs index eeef91f..2457ec5 100644 --- a/src/0-core/HuanMeng.MiaoYu.Model/Dto/Chat/ChatHistoryInfo.cs +++ b/src/0-core/HuanMeng.MiaoYu.Model/Dto/Chat/ChatHistoryInfo.cs @@ -41,5 +41,10 @@ namespace HuanMeng.MiaoYu.Model.Dto.Chat /// public DateTime? LastContactTime { get; set; } + /// + /// 最后一次消息 + /// + public string LastMessage { get; set; } + } } diff --git a/src/2-api/HuanMeng.MiaoYu.WebApi/appsettings.Development.json b/src/2-api/HuanMeng.MiaoYu.WebApi/appsettings.Development.json index e87079f..d3edfbb 100644 --- a/src/2-api/HuanMeng.MiaoYu.WebApi/appsettings.Development.json +++ b/src/2-api/HuanMeng.MiaoYu.WebApi/appsettings.Development.json @@ -5,8 +5,8 @@ //腾讯云配置 "TencentCloud": { - "SecretId": "AKIDLbhdP0Vs57yd7QZWu8A2jFbno8JKBUp6", - "SecretKey": "MlP5tcUG6mdj7TwOpDWnZNFGIrJY8eH4", + "SecretId": "AKIDVyMfzKZdZP8zkNyOdsFuSsBJDB7EScs0", + "SecretKey": "89GWr7JPWYTL8ueHlAYowGZnvzKZjqs9", "SMSCode": { //请求方式 "ReqMethod": "POST", diff --git a/src/2-api/HuanMeng.MiaoYu.WebApi/appsettings.Production.json b/src/2-api/HuanMeng.MiaoYu.WebApi/appsettings.Production.json index b66519b..994b09c 100644 --- a/src/2-api/HuanMeng.MiaoYu.WebApi/appsettings.Production.json +++ b/src/2-api/HuanMeng.MiaoYu.WebApi/appsettings.Production.json @@ -5,8 +5,8 @@ //腾讯云配置 "TencentCloud": { - "SecretId": "AKIDLbhdP0Vs57yd7QZWu8A2jFbno8JKBUp6", - "SecretKey": "MlP5tcUG6mdj7TwOpDWnZNFGIrJY8eH4", + "SecretId": "AKIDVyMfzKZdZP8zkNyOdsFuSsBJDB7EScs0", + "SecretKey": "89GWr7JPWYTL8ueHlAYowGZnvzKZjqs9", "SMSCode": { //请求方式 "ReqMethod": "POST",