修改报错
This commit is contained in:
parent
bdfe735f3e
commit
ac8972b20b
|
|
@ -1,8 +1,7 @@
|
||||||
using HuanMeng.DotNetCore.Base;
|
using HuanMeng.DotNetCore.Base;
|
||||||
using HuanMeng.MiaoYu.Code.Cache;
|
using HuanMeng.MiaoYu.Code.Cache;
|
||||||
using HuanMeng.MiaoYu.Model.DbSqlServer.Db_MiaoYu;
|
using HuanMeng.MiaoYu.Model.DbSqlServer.Db_MiaoYu;
|
||||||
|
using HuanMeng.MiaoYu.Model.Dto.Chat;
|
||||||
|
|
||||||
using Microsoft.AspNetCore.Mvc;
|
using Microsoft.AspNetCore.Mvc;
|
||||||
using Microsoft.EntityFrameworkCore;
|
using Microsoft.EntityFrameworkCore;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -88,11 +88,11 @@ namespace HuanMeng.MiaoYu.Model.Dto.Chat
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 人物角色标签
|
/// 人物角色标签
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public class LabelDto
|
//public class LabelDto
|
||||||
{
|
//{
|
||||||
public int LabelId { get; set; }
|
// public int LabelId { get; set; }
|
||||||
public string LabelName { get; set; }
|
// public string LabelName { get; set; }
|
||||||
}
|
//}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 聊天列表信息
|
/// 聊天列表信息
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
using HuanMeng.MiaoYu.Model.Dto.Home;
|
//using HuanMeng.MiaoYu.Model.Dto.Home;
|
||||||
|
using HuanMeng.MiaoYu.Model.Dto.Label;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
|
|
|
||||||
|
|
@ -57,8 +57,8 @@ namespace HuanMeng.MiaoYu.WebApi.Controllers
|
||||||
var obj = await characterBLL.GetCharacterInfo(requestCharacterInfo);
|
var obj = await characterBLL.GetCharacterInfo(requestCharacterInfo);
|
||||||
return obj;
|
return obj;
|
||||||
|
|
||||||
var obj = JsonConvert.DeserializeObject<List<CharacterInfoDto>>("[{\"Icon\":\"\",\"Intimacy\":10,\"CharacterId\":2,\"CharacterName\":\"许荷姻\",\"Gender\":1,\"LookCount\":2,\"BgUrl\":\"\",\"Biography\":\"你那商业联姻得来的妻子,原本的天才女孩,聪明伶俐,生的漂亮、端庄,不知贵圈多少人梦寐以求的存在。\",\"Prologue\":\"坐在轮椅上,眼神平静的看着你,语气也同样平静)你回来了。饭菜在桌上,我刚刚热了。(说到这,又垂下眸子道)我还做了碗醒酒汤,记得喝\",\"Label\":[{\"Id\":1,\"Name\":\"美女\"},{\"Id\":2,\"Name\":\"二次元\"}],\"RemainingChatCount\":1}]");
|
//var obj = JsonConvert.DeserializeObject<List<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<List<CharacterInfoDto>>(ResonseCode.Success, "", obj);
|
//return new BaseResponse<List<CharacterInfoDto>>(ResonseCode.Success, "", obj);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user