kate522
18e579a8c6
fix(admin): restore WeChat template message REST callbacks
/wechat/status 与 /wechat/settings 自引入起只注册了路由、从未实现回调方法,后台「微信模板消息」页调用即 500。
按既定设计补齐:状态读取委托 WeChatNotify::get_status()(其既定用途即 REST 与 AJAX 复用),写入委托 Settings::update_wechat_settings() 并由 Integration 收敛键白名单;前端空密钥下发掩码 *** 时保留已存密钥,避免把密钥写成字面量。
新增 PHP harness 驱动真实 UserController + Integration + WeChatNotify 验证状态形状、掩码保留、缺省沿用、未知键丢弃与输入消毒。
2026-10-13 21:00:35 +08:00
..
2026-10-13 21:00:35 +08:00
2026-09-18 23:17:36 +08:00
2026-10-09 13:59:50 +08:00
2026-10-03 15:44:02 +08:00
2026-09-06 10:47:24 +08:00
2026-10-13 17:33:01 +08:00
2026-08-18 16:06:47 +08:00
2026-09-21 20:53:12 +08:00
2026-10-13 19:32:34 +08:00