我会在调用 PostCreator 之前添加一个 puts,并将它返回的内容赋值给一个变量,这样你就可以在调用之后打印它。
pfaffman
(Jay Pfaffman)
2
相关话题
| 话题 | 回复 | 浏览量 | 活动 | |
|---|---|---|---|---|
| Send PM to an email adress from a plugin | 5 | 368 | 2023 年10 月 2 日 | |
| Mailing list mode emails not being sent for some first posts | 26 | 954 | 2023 年1 月 18 日 | |
| Email-in topic_creator bug | 6 | 1001 | 2018 年11 月 29 日 | |
| Creating a staged user with an API call | 29 | 4472 | 2025 年9 月 16 日 | |
| Discourse-automation did not send PM: no valid targets exist | 1 | 35 | 2026 年2 月 11 日 |