Browse Source

测试效果

li97 9 months ago
parent
commit
95f267cb40
1 changed files with 4 additions and 4 deletions
  1. 4 4
      app/tytw/controller/Index.php

+ 4 - 4
app/tytw/controller/Index.php

@@ -29,10 +29,10 @@ class Index extends BaseController{
          $overview = $_GET['overview'];
          $audiourl = $_GET['audiourl'];
          $taskKey = $_GET['taskKey'];
-         if(!$overview){
-             $res = array('error' => 1, 'errortip' => '请传入音频解析方向的描述', 'result' => array());
-             exit(json_encode($res,JSON_UNESCAPED_UNICODE));
-         }
+//         if(!$overview){
+//             $res = array('error' => 1, 'errortip' => '请传入音频解析方向的描述', 'result' => array());
+//             exit(json_encode($res,JSON_UNESCAPED_UNICODE));
+//         }
         if(!$audiourl){
             $res = array('error' => 1, 'errortip' => '请传入音频文件链接', 'result' => array());
             exit(json_encode($res,JSON_UNESCAPED_UNICODE));