fix douban

This commit is contained in:
jxxghp
2023-06-20 18:06:41 +08:00
parent 8a0acfbcee
commit d9c75ce446
3 changed files with 11 additions and 7 deletions

View File

@ -27,7 +27,7 @@ class SubscribeOper(DbOper):
subscribe.create(self._db)
return subscribe.id, "新增订阅成功"
else:
return subscribe.id, "订阅已存在"
return 0, "订阅已存在"
def get(self, sid: int) -> Subscribe:
"""