Closed manchurio closed 10 months ago
用户升级的service 去依赖 用户usecase和积分usecase
Hi, @manchurio! I'm Dosu, and I'm helping the kratos-layout team manage their backlog. I wanted to let you know that we are marking this issue as stale.
From what I understand, the issue is about how to organize code when multiple services depend on each other. OverNaive suggests that the user service should depend on the user use case and the points use case.
Before we close this issue, we wanted to check with you if it is still relevant to the latest version of the kratos-layout repository. If it is, please let us know by commenting on the issue. Otherwise, feel free to close the issue yourself or it will be automatically closed in 7 days.
Thank you for your contribution!
比如在同一个进程内有 用户service, 积分service, 当用户升级的时候, 增加用户的积分, 这个操作应该写在哪里
用户service应该依赖于积分service? 还是用户biz依赖于积分biz?