- 在 DouyuConfigOut 与 DouyuConfigUpdate 中补齐 peace_enabled 声明与序列化 - 在 update_config 中使用 getattr(req, field, None) 安全读取属性,避免 AttributeError 导致 500 - 在 _config_out 中加入 peace_enabled 输出映射 - 增加切换充值渠道与配置更新的单元测试
- 在 DouyuConfigOut 与 DouyuConfigUpdate 中补齐 peace_enabled 声明与序列化 - 在 update_config 中使用 getattr(req, field, None) 安全读取属性,避免 AttributeError 导致 500 - 在 _config_out 中加入 peace_enabled 输出映射 - 增加切换充值渠道与配置更新的单元测试