new LanguagePlugin(
{
outputFilePath: resolveCurr() + 'lang1/', //配置输出目录
outputFiles: [
{ fileName: "ar.js", key: "lang_1" }, //fileName: 输出文件名 key:对应接口的key
{ fileName: "en.js", key: "lang_2" },
],
request: {
method: "get",
url: "http://192.168.10.191:8000/api/word/list?current=1&pageSize=500&catId[]=45"
},
defaultLanguageKey: "lang_2" //默认使用的语言key
},
)