You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
kratos-ci-bot
changed the title
[Question] 项目中的data、service、biz层如何获取App对象的信息
[Question] How to obtain information about App objects in the data, service, and biz layers in the project
Apr 7, 2025
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
The app.og#App object implements the AppInfo interface and passes the App object through context. The handler on the service side can get the app data through the AppInfo interface.
How to obtain information about App objects in the data, service, and biz layers in the project? Are you considering the design of app objects as global objects?
app.og#App 对象实现了 AppInfo 接口,并且通过 context 传递了 App 对象,服务侧的 handler 都可以通过 AppInfo 接口拿到 app 数据。
项目中的data、service、biz层如何获取App对象的信息?是否考虑 app 对象设计成全局对象?
The text was updated successfully, but these errors were encountered: