Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] 小牛高校版请求超时 #1007

Open
3 tasks done
SomeZeroK opened this issue Nov 17, 2024 · 0 comments
Open
3 tasks done

[Bug] 小牛高校版请求超时 #1007

SomeZeroK opened this issue Nov 17, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@SomeZeroK
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Have you checked the FAQ (#6)?

  • I have checked the FAQ

Are you using the latest Zotero and the latest plugin?

  • I have confirmed I'm using the latest Zotero and the latest plugin

Environment

  • OS: Windows 10
  • Zotero Version: 7.0.9 (64-bit)
  • Plugin Version:2.0.5

Describe the bug

使用高校版的小牛翻译API时,出现请求超时问题:Error: Request timed out。
· 接口地址: https://trans.neu.edu.cn/niutrans/textTranslation?apikey=apikey的值(可在右上角个人中心查看)
· 请求方式: POST
· 传参方式: application/json

· 请求参数:
名称 类型 是否必选 实例值 描述
from String 是 zh 源语语种缩写
to String 是 en 目标语语种缩写
src_text String 是 你好 原文内容

· 返回结果:
{
"code": 200,
"msg": "成功",
"data": [
{
"sentences": [
{
"data": "Hello",
"contrastSourceText": "你好",
"paragraphOrder": 0,
"order": 0,
"uuid": ,
"historyResult": null,
"len": 0,
"sourceLanguageAbbreviation": "zh",
"targetLanguageAbbreviation": "en"
}
],
"order": 0
}
]
}

1731830554325

Debug Output

点击设置,填写对应密钥,修改api接口,不填写账户信息(高校版无此信息)

Anything else?

No response

@SomeZeroK SomeZeroK added the bug Something isn't working label Nov 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants