修改问题
This commit is contained in:
parent
6bbe8cd268
commit
17e27c0cbc
|
|
@ -74,7 +74,7 @@ namespace HuanMeng.MiaoYu.Code.Chat
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
public async Task<bool> DelChat(int characterId)
|
public async Task<bool> DelChat(int characterId)
|
||||||
{
|
{
|
||||||
var tempList = await Dao.daoDbMiaoYu.context.T_User_Char.Where(t => t.UserId == _UserId && t.CharacterId == characterId && t.IsDelete == false).FirstOrDefaultAsync();
|
var tempList = await Dao.daoDbMiaoYu.context.T_User_Chat.Where(t => t.UserId == _UserId && t.CharacterId == characterId && t.IsDelete == false).FirstOrDefaultAsync();
|
||||||
if (tempList != null)
|
if (tempList != null)
|
||||||
{
|
{
|
||||||
tempList.IsDelete = true;
|
tempList.IsDelete = true;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user