2 次代碼提交 ee87be58a0 ... 3d04bde57d

作者 SHA1 備註 提交日期
  li97 3d04bde57d 测试效果 9 月之前
  li97 95f267cb40 测试效果 9 月之前
共有 1 個文件被更改,包括 5 次插入5 次删除
  1. 5 5
      app/tytw/controller/Index.php

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

@@ -18,7 +18,7 @@ use think\facade\Env;
 
 class Index extends BaseController{
 
-    //创建任务
+    //创建任务 1
     public function addtaskone(){
          $token = $_GET['token'];
          if($token != md5('TeasxTyts@sg'.date('Y-m-d'))){
@@ -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));