Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

我要在事件处理中使用service的方法,有办法在controller里注册事件吗,不然好像拿不到ctx对象 #8

Closed
Justin3go opened this issue Sep 24, 2022 · 6 comments

Comments

@Justin3go
Copy link

No description provided.

@mazhe-nerd
Copy link
Collaborator

No description provided.

你好同学,可以补充下语境嘛?这里的service,controller和ctx指的是?

@Justin3go
Copy link
Author

No description provided.

你好同学,可以补充下语境嘛?这里的service,controller和ctx指的是?

感谢你的关注,使用的是gulu框架

@mazhe-nerd
Copy link
Collaborator

No description provided.

你好同学,可以补充下语境嘛?这里的service,controller和ctx指的是?

感谢你的关注,使用的是gulu框架

字节的同学嘛?可以飞书加入【新版oapi-nodejs-sdk灰度使用讨论群】,在群里交流哈

@Justin3go Justin3go reopened this Sep 26, 2022
@Justin3go Justin3go reopened this Sep 26, 2022
@Justin3go
Copy link
Author

我好像搜不到该群,顺便再问一个问题,该sdk似乎没有对飞书的重推机制进行事件去重,我好像没找到相应的代码

@mazhe-nerd
Copy link
Collaborator

我好像搜不到该群,顺便再问一个问题,该sdk似乎没有对飞书的重推机制进行事件去重,我好像没找到相应的代码

可以飞书找下我哈:mazhe.nerd

@mazhe-nerd
Copy link
Collaborator

在特定的框架,可以写不同的适配器来支持,可以参考:https://github.com/larksuite/node-sdk/blob/main/README.zh.md#%E8%87%AA%E5%AE%9A%E4%B9%89%E9%80%82%E9%85%8D%E5%99%A8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants