diff --git a/app/util/Xunfei.php b/app/util/Xunfei.php index 7d5d887..51c5b78 100644 --- a/app/util/Xunfei.php +++ b/app/util/Xunfei.php @@ -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));