|
@@ -71,6 +71,7 @@ namespace TEAMModelFunction
|
|
|
string scope = input.GetPropertyValue<string>("scope");
|
|
|
string name = input.GetPropertyValue<string>("name");
|
|
|
int? status = input.GetPropertyValue<int?>("status");
|
|
|
+ int? publish = input.GetPropertyValue<int?>("publish");
|
|
|
var data = new TriggerData
|
|
|
{
|
|
|
stime = stime,
|
|
@@ -83,7 +84,8 @@ namespace TEAMModelFunction
|
|
|
ttl = ttl,
|
|
|
id = input.Id,
|
|
|
status = status,
|
|
|
- name = name
|
|
|
+ name = name,
|
|
|
+ publish = publish
|
|
|
};
|
|
|
#if DEBUG
|
|
|
await _dingDing.SendBotMsg($"{Environment.GetEnvironmentVariable("Option:Location")}-CosmosDBTrigger,{pk}触发变更\n{data.ToJsonString()}",
|
|
@@ -134,5 +136,6 @@ namespace TEAMModelFunction
|
|
|
public string scope { get; set; }
|
|
|
public int ttl { get; set; }
|
|
|
public string id { get; set; }
|
|
|
+ public int? publish { get; set; }
|
|
|
}
|
|
|
}
|