删除聊天
This commit is contained in:
commit
bcdfc25af1
|
|
@ -33,6 +33,7 @@ namespace HuanMeng.MiaoYu.Code.Base
|
|||
{
|
||||
|
||||
}
|
||||
#region 数据库
|
||||
private DAO _dao;
|
||||
/// <summary>
|
||||
/// dao 数据库
|
||||
|
|
@ -48,6 +49,7 @@ namespace HuanMeng.MiaoYu.Code.Base
|
|||
return _dao;
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 租户信息
|
||||
/// <summary>
|
||||
|
|
|
|||
|
|
@ -1,9 +0,0 @@
|
|||
using System;
|
||||
|
||||
namespace HuanMeng.Utility
|
||||
{
|
||||
public class Class1
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
|
@ -1,11 +1,9 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Text.RegularExpressions;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace HuanMeng.MiaoYu.Code.Other
|
||||
namespace HuanMeng.Utility
|
||||
{
|
||||
/// <summary>
|
||||
/// 手机号
|
||||
|
|
@ -6,6 +6,7 @@ using HuanMeng.MiaoYu.Code.Users;
|
|||
using HuanMeng.MiaoYu.Model.Dto;
|
||||
using HuanMeng.MiaoYu.Model.Dto.Account;
|
||||
using HuanMeng.MiaoYu.WebApi.Base;
|
||||
using HuanMeng.Utility;
|
||||
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
using Microsoft.AspNetCore.Http;
|
||||
|
|
@ -29,10 +30,11 @@ namespace HuanMeng.MiaoYu.WebApi.Controllers
|
|||
}
|
||||
|
||||
/// <summary>
|
||||
/// 发送手机号验证码
|
||||
/// 发送手机号验证码
|
||||
/// </summary>
|
||||
/// <param name="PhoneNumber">手机号</param>
|
||||
/// <param name="phone"></param>
|
||||
/// <returns></returns>
|
||||
/// <exception cref="ArgumentException"></exception>
|
||||
[HttpPost]
|
||||
public async Task<BaseResponse<bool>> SendPhoneNumber([FromBody] RequestPhoneNumberModel phone)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -2,8 +2,10 @@ using HuanMeng.DotNetCore.Base;
|
|||
using HuanMeng.MiaoYu.Code.Chat;
|
||||
using HuanMeng.MiaoYu.Model.Dto.Home;
|
||||
using HuanMeng.MiaoYu.WebApi.Base;
|
||||
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace HuanMeng.MiaoYu.WebApi.Controllers
|
||||
|
|
@ -32,6 +34,7 @@ namespace HuanMeng.MiaoYu.WebApi.Controllers
|
|||
[AllowAnonymous]
|
||||
public async Task<BaseResponse<CharacterInfoDto>> GetCharacterInfo()
|
||||
{
|
||||
|
||||
var obj = JsonConvert.DeserializeObject<CharacterInfoDto>("{\"Icon\":\"\",\"Intimacy\":10,\"CharacterId\":2,\"CharacterName\":\"许荷姻\",\"Gender\":1,\"LookCount\":2,\"BgUrl\":\"\",\"Biography\":\"你那商业联姻得来的妻子,原本的天才女孩,聪明伶俐,生的漂亮、端庄,不知贵圈多少人梦寐以求的存在。\",\"Prologue\":\"坐在轮椅上,眼神平静的看着你,语气也同样平静)你回来了。饭菜在桌上,我刚刚热了。(说到这,又垂下眸子道)我还做了碗醒酒汤,记得喝\",\"Label\":[{\"Id\":1,\"Name\":\"美女\"},{\"Id\":2,\"Name\":\"二次元\"}],\"RemainingChatCount\":1}");
|
||||
|
||||
return new BaseResponse<CharacterInfoDto>(ResonseCode.Success, "", obj);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user