|
@@ -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));
|