疯狂的狮子Li
2023-03-11 f0a9768d8e7ee39e4e6b2e1646e8585504095ea3
ruoyi-common/ruoyi-common-translation/src/main/java/com/ruoyi/common/translation/core/TranslationInterface.java
@@ -5,13 +5,14 @@
 *
 * @author Lion Li
 */
public interface TranslationInterface {
public interface TranslationInterface<T> {
    /**
     * 翻译
     *
     * @param key 需要被翻译的键(不为空)
     * @param key   需要被翻译的键(不为空)
     * @param other 其他参数
     * @return 返回键对应的值
     */
    String translation(Object key, String other);
    T translation(Object key, String other);
}