Michelle.Chung
2023-02-23 3ab03bf0e7809b9c0b5fc07b4644412086bc9249
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);
}