消息推送参数修改

Insight
洁 任 2024-11-20 16:57:44 +08:00
parent e522f2ee84
commit 7e484053f5
1 changed files with 3 additions and 2 deletions

View File

@ -232,7 +232,7 @@ namespace OpenAuth.App.ServiceApp.InsTaskHallManager
{
throw new Exception("登录失效");
}
var taskId = "";
using(var uwo = UnitWork.CreateContext())
{
foreach (var item in groupIds)
@ -241,6 +241,7 @@ namespace OpenAuth.App.ServiceApp.InsTaskHallManager
if (taskGroup != null&&taskGroup.ReciveUserId==null)
{
var task = await client.Queryable<InsTask>().Where(t => t.Id == taskGroup.TaskId).FirstAsync();
taskId = task.Id;
if(task != null)
{
//查询并判断任务是否领完
@ -274,7 +275,7 @@ namespace OpenAuth.App.ServiceApp.InsTaskHallManager
var flag = uwo.Commit();
var content = new
{
queryid = groupIds,
queryid = taskId,
message = "有新接手的任务"
};
var contents = Json.ToJson(content);