|
@@ -22,6 +22,7 @@ namespace Hotline.Ai.Jths
|
|
|
private readonly string _serviceversion;
|
|
|
private readonly string _sceneuid;
|
|
|
private readonly string _ruleuid;
|
|
|
+ private ILogger<AiVisitService> _logger;
|
|
|
|
|
|
public AiVisitService(string baseUrl, string appkey, string serviceversion, string sceneuid, string ruleuid)
|
|
|
{
|
|
@@ -67,6 +68,7 @@ namespace Hotline.Ai.Jths
|
|
|
|
|
|
taskData.VariableList.Add(new Variable() { Code = "反馈时间", Value = item.Order.CreationTime.ToString("yyyy年MM月dd日hh点mm分") });
|
|
|
taskData.VariableList.Add(new Variable() { Code = "反馈问题", Value = item.Order.Title });
|
|
|
+ taskDataList.Add(taskData);
|
|
|
}
|
|
|
requestData.TaskDataList = taskDataList;
|
|
|
var response = await ExecuteAsync<AiVisitServiceRequest, AiVisitServiceResponse>(_baseUrl + "/edas/batchTask",Method.Post, requestData,cancellationToken);
|