pull/1395/head
gedoor 3 years ago
parent 7128ede82c
commit 66a30bea4c
  1. 2
      app/src/main/assets/defaultData/httpTTS.json

@ -24,6 +24,6 @@
"type": "text" "type": "text"
} }
], ],
"loginCheckJs": "" "loginCheckJs": "var response = result;\nif (response.headers().get(\"Content-Type\") != \"audio/mpeg\") {\n var body = JSON.parse(response.body().string())\n if (body.status == 40000001) {\n source.login()\n java.getHeaderMap().putAll(source.getHeaderMap(true))\n response = java.getResponse()\n }\n}\nresponse"
} }
] ]
Loading…
Cancel
Save