修改登录提示

This commit is contained in:
zpc 2024-07-18 14:18:07 +08:00
parent 262b902a34
commit d40c93d8c2
4 changed files with 11 additions and 6 deletions

View File

@ -48,7 +48,7 @@ namespace HuanMeng.MiaoYu.Code.Users.UserAccount.PhoneAccount
}
catch (Exception ex)
{
return new BaseResponse<bool>(ResonseCode.Error, "出现异常", false);
return new BaseResponse<bool>(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);
}

View File

@ -41,5 +41,10 @@ namespace HuanMeng.MiaoYu.Model.Dto.Chat
/// </summary>
public DateTime? LastContactTime { get; set; }
/// <summary>
/// 最后一次消息
/// </summary>
public string LastMessage { get; set; }
}
}

View File

@ -5,8 +5,8 @@
//
"TencentCloud": {
"SecretId": "AKIDLbhdP0Vs57yd7QZWu8A2jFbno8JKBUp6",
"SecretKey": "MlP5tcUG6mdj7TwOpDWnZNFGIrJY8eH4",
"SecretId": "AKIDVyMfzKZdZP8zkNyOdsFuSsBJDB7EScs0",
"SecretKey": "89GWr7JPWYTL8ueHlAYowGZnvzKZjqs9",
"SMSCode": {
//
"ReqMethod": "POST",

View File

@ -5,8 +5,8 @@
//
"TencentCloud": {
"SecretId": "AKIDLbhdP0Vs57yd7QZWu8A2jFbno8JKBUp6",
"SecretKey": "MlP5tcUG6mdj7TwOpDWnZNFGIrJY8eH4",
"SecretId": "AKIDVyMfzKZdZP8zkNyOdsFuSsBJDB7EScs0",
"SecretKey": "89GWr7JPWYTL8ueHlAYowGZnvzKZjqs9",
"SMSCode": {
//
"ReqMethod": "POST",