refactor: packet x1

This commit is contained in:
pk5ls20 committed 2024-11-12 04:02:19 +08:00
1 parent af29c17814
commit 7fd94a03b7
105 files changed
+2286 -1962

No files matched your search

@@ -7,6 +7,7 @@ export abstract class GetPacketStatusDepends<PT, RT> extends BaseAction<PT, RT>
protected async check(payload: PT): Promise<BaseCheckResult>{
if (!this.core.apis.PacketApi.available) {
// TODO: add error stack?
return {
valid: false,
message: "packetBackend不可用,请参照文档 https://napneko.github.io/config/advanced 和启动日志检查packetBackend状态或进行配置!",