fix 升级changedb; 处理人脸token解析问题
This commit is contained in:
@@ -229,7 +229,7 @@ public class GainfoService : IGainfoService
|
||||
Face = request.Face
|
||||
};
|
||||
|
||||
await dbContext.Insertable(face).ExecuteCommandAsync();
|
||||
await dbContext.InsertAsync(face);
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -240,7 +240,7 @@ public class GainfoService : IGainfoService
|
||||
}
|
||||
|
||||
face.Face = request.Face;
|
||||
await dbContext.Updateable(face).ExecuteCommandAsync();
|
||||
await dbContext.UpdateAsync(face);
|
||||
}
|
||||
|
||||
//生成任务
|
||||
@@ -270,7 +270,7 @@ public class GainfoService : IGainfoService
|
||||
Face = request.Face
|
||||
};
|
||||
|
||||
await dbContext.Insertable(face).ExecuteCommandAsync();
|
||||
await dbContext.InsertAsync(face);
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -281,7 +281,7 @@ public class GainfoService : IGainfoService
|
||||
}
|
||||
|
||||
face.Face = request.Face;
|
||||
await dbContext.Updateable(face).ExecuteCommandAsync();
|
||||
await dbContext.UpdateAsync(face);
|
||||
}
|
||||
|
||||
//生成任务
|
||||
|
||||
Reference in New Issue
Block a user