作者 lyh

gx

@@ -166,7 +166,8 @@ class VideoTask extends Command @@ -166,7 +166,8 @@ class VideoTask extends Command
166 ], 166 ],
167 'task_id' => $task_id, 167 'task_id' => $task_id,
168 'callback_url' => env('APP_URL') . '/api/video_task_callback', 168 'callback_url' => env('APP_URL') . '/api/video_task_callback',
169 - 'is_ytb'=>false 169 + 'is_ytb'=>false,
  170 + 'o_language_subtitle'
170 ]; 171 ];
171 $result = Http::post('http://216.250.255.116:7866/create_task', $data); 172 $result = Http::post('http://216.250.255.116:7866/create_task', $data);
172 $res_json = json_decode($result,true); 173 $res_json = json_decode($result,true);
@@ -608,6 +608,9 @@ class ProjectController extends BaseController @@ -608,6 +608,9 @@ class ProjectController extends BaseController
608 */ 608 */
609 public function getManagerList(){ 609 public function getManagerList(){
610 $hrManagerModel = new ManageHr(); 610 $hrManagerModel = new ManageHr();
  611 + if(!isset($this->param['name']) || empty($this->param['name'])){
  612 + $this->map['status'] = $hrManagerModel::STATUS_ONE;
  613 + }
611 if(isset($this->map['entry_position']) && !empty($this->map['entry_position'])){ 614 if(isset($this->map['entry_position']) && !empty($this->map['entry_position'])){
612 $this->map['entry_position'] = ['in',$this->map['entry_position']]; 615 $this->map['entry_position'] = ['in',$this->map['entry_position']];
613 } 616 }