ソースを参照

优化通知接口

Li 2 年 前
コミット
72281b6832
1 ファイル変更1 行追加1 行削除
  1. 1 1
      TEAMModelBI/Controllers/BICommon/BINoticeController.cs

+ 1 - 1
TEAMModelBI/Controllers/BICommon/BINoticeController.cs

@@ -234,7 +234,7 @@ namespace TEAMModelBI.Controllers.BICommon
 
                 bINotice = await cosmosClient.GetContainer(Constant.TEAMModelOS, "Common").CreateItemAsync<BINotice>(bINotice, new PartitionKey("BINotice"));
                 //BI发送端外通知
-                _coreAPIHttpService.BIPushNotify(bINotice, new Dictionary<string, object> { { "tmdid", _tmdIds }, { "tmdname", _tmdName } }, _option.Location, _configuration, _dingDing);
+                _coreAPIHttpService.BIPushNotify(bINotice, new Dictionary<string, object> { { "tmdid", _tmdIds }, { "sendId", bINotice.crowdIds} }, _option.Location, _configuration, _dingDing);
 
                 return Ok(new { state = RespondCode.Ok, bINotice });
             }