消息推送参数修改
parent
e522f2ee84
commit
7e484053f5
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue