liufumingren
3570c6ad5c
fix(extension): 修复插件配置接口 404(controller 方法名 config 被 this.config 顶掉)
Egg 的 BaseContextClass 构造时会把 `this.config = app.config` 挂到实例上,
控制器里叫 `config()` 的动作会被这个实例属性覆盖:路由能匹配上,但
egg-router 拿到的不是函数,最终静默返回 404「接口不存在」。
- controller/web/extension.js:动作改名为 show()
- router.js:/api/web/extension/config 指向 controller.web.extension.show
- 插件:同步周期文案改为「每 5 分钟」,版本 1.1.1
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-11-01 03:25:43 +08:00
..
2026-10-29 17:20:05 +08:00
2026-10-17 08:50:32 +08:00
2026-10-29 17:20:05 +08:00
2026-10-29 17:20:05 +08:00
2026-10-29 17:20:05 +08:00
2026-10-20 18:55:57 +08:00
2026-11-01 03:25:43 +08:00
2026-10-20 18:55:57 +08:00
2026-10-21 05:53:27 +08:00
2026-10-17 08:50:32 +08:00
2026-10-17 08:50:32 +08:00