更新 subscribe_oper.py

This commit is contained in:
jxxghp
2025-08-13 10:10:42 +08:00
committed by GitHub
parent 1e2ca294de
commit c5e93169ad

View File

@@ -108,7 +108,7 @@ class SubscribeOper(DbOper):
"""
获取订阅
"""
return await Subscribe.async_get(self._db, id=sid)
return await Subscribe.async_get(self._db, rid=sid)
def list(self, state: Optional[str] = None) -> List[Subscribe]:
"""