mirror of
https://github.com/octopusYan/dayz-mod-translator.git
synced 2025-12-08 01:01:57 +08:00
fix: 接口qps设置
This commit is contained in:
@ -37,11 +37,6 @@ public class FreeBaiduTranslateProcessor extends AbstractTranslateProcessor {
|
|||||||
return "https://fanyi.baidu.com/transapi";
|
return "https://fanyi.baidu.com/transapi";
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public int qps() {
|
|
||||||
return source().getDefaultQps();
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 翻译处理
|
* 翻译处理
|
||||||
*
|
*
|
||||||
|
|||||||
@ -25,11 +25,6 @@ public class FreeGoogleTranslateProcessor extends AbstractTranslateProcessor {
|
|||||||
return "https://translate.googleapis.com/translate_a/single";
|
return "https://translate.googleapis.com/translate_a/single";
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public int qps() {
|
|
||||||
return source().getDefaultQps();
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 翻译处理
|
* 翻译处理
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in New Issue
Block a user