Compare commits

...

2 Commits

3 changed files with 7 additions and 1 deletions

View File

@ -2691,6 +2691,7 @@ namespace OpenAuth.App.ServiceApp
AiTaskId = taskId,
TemTaskId = req.TaskId,
State = true,
Platform = "",
CreateTime = DateTime.Now,
});
_redisCacheContext.HashSetAsync($"ai:task:{taskId}", new[]{

View File

@ -115,4 +115,8 @@ public class LasaAlgoInstance
public string Tags { get; set; }
[SugarColumn(ColumnName = "AlgoIds")]
public string AlgoIds { get; set; }
/// <summary>
/// 推送平台
/// </summary>
public string Platform { get; set; }
}

View File

@ -55,7 +55,8 @@ namespace OpenAuth.WebApi.Model.mqtt
"thing/product/+/requests",
"thing/product/+/osd",
"sys/product/+/status",
"thing/product/+/control-operation"
"thing/product/+/control-operation",
"ai/task/+/tasklog"
};
await _mqttCenter.SubscribeAsync(topicList);
}