AidopOutboundOptions.cs 560 B

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