refactor: 收口订阅与插件应用边界

This commit is contained in:
jxxghp
2026-08-18 13:54:17 +08:00
parent 8472bcff43
commit c2a27f7c71
29 changed files with 345 additions and 255 deletions
+1 -1
View File
@@ -674,7 +674,7 @@ class SubscribeEndpointTest(TestCase):
"""
owner-aware 创建不应把他人已有订阅当作当前用户订阅。
"""
from app.application.subscribe import async_add_subscribe
from app.application.subscription.write import async_add_subscribe
from app.db.oper.subscribe import SubscribeOper
other = _EndpointSubscribe(id=21, username="bob")