This commit is contained in:
2025-06-25 09:35:32 +08:00
parent de82cfff48
commit ece8360dd4
+1 -1
View File
@@ -54,7 +54,7 @@ class Xunfei
$api_key = "b6d805f240176ecaea85130cb5f2bca1";
// 机器翻译接口地址
// $url = "https://ntrans.xfyun.cn/v2/ots";
$url = "https://ntrans.example.cn";
$url = "http://ntrans.example.cn";
//body组装
// $text = "中华人民共和国于1949年成立";//待翻译文本
$body = json_encode($this->getBody($app_id, $from, $to, $text));