- using Furion.ConfigurableOptions;
- namespace Admin.NET.Plugin.AiDOP;
- /// <summary>
- /// 出站推送总开关。配置节 <c>AiDOP:Outbound</c>。
- /// 缺省 <see cref="Enabled"/> = true(正式环境保持缺省即可)。
- /// 开发库置 false:消息只进 <c>mdp_outbox</c>,不写 165 / 不调第三方。
- /// </summary>
- [OptionsSettings("AiDOP:Outbound")]
- public sealed class AidopOutboundOptions : IConfigurableOptions
- {
- /// <summary>false 时所有出站执行器只入队不发送。</summary>
- public bool Enabled { get; set; } = true;
- }
|