Skip to content

Conversation

@xyy0411
Copy link
Contributor

@xyy0411 xyy0411 commented Nov 2, 2024

No description provided.

Copy link
Member

@fumiama fumiama left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

model自己的私有函数可以是基础的接口,但是导出的公开函数必须是高层的抽象。牛牛的复杂玩法都要放进去,方便统一管理。

Copy link
Member

@fumiama fumiama left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

搬太多了,实际上就是一股脑全搬过来罢了,这完全不是我想要的效果。这样写不如不搬。AnimeAPI是和ZeroBot和zbpuitls解耦的,禁止增加这两个依赖。如果你能在没有这两个依赖的情况下完成这个包,那我会再仔细看你的实现。

Copy link
Member

@fumiama fumiama left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

有些问题之前就提过这次又出现,希望能举一反三。暂时这些吧,有点看不下去了。

Copy link
Member

@fumiama fumiama left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

并发地狱。。。你要两把锁,一把是数据库的,另一把是API本身的。

fumiama
fumiama previously approved these changes Dec 14, 2024
Copy link
Member

@fumiama fumiama left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

该修lint了(

Copy link
Member

@fumiama fumiama left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

继续继续⛽️

@fumiama fumiama merged commit 19192b0 into FloatTech:main Dec 22, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants