作者 李宇航

合并分支 'master-server' 到 'master'

Master server



查看合并请求 !1374
@@ -57,7 +57,7 @@ class AiBlogTask extends Command @@ -57,7 +57,7 @@ class AiBlogTask extends Command
57 $aiBlogService->key = $aiSettingInfo['key']; 57 $aiBlogService->key = $aiSettingInfo['key'];
58 $aiBlogService->task_id = $item['task_id']; 58 $aiBlogService->task_id = $item['task_id'];
59 $result = $aiBlogService->getDetail(); 59 $result = $aiBlogService->getDetail();
60 - if($result['status'] != 200){ 60 + if(!isset($result['status']) || $result['status'] != 200){
61 sleep(5); 61 sleep(5);
62 continue; 62 continue;
63 } 63 }
@@ -54,6 +54,7 @@ class KeywordLogic extends BaseLogic @@ -54,6 +54,7 @@ class KeywordLogic extends BaseLogic
54 * @author :lyh 54 * @author :lyh
55 * @method :post 55 * @method :post
56 * @time :2023/8/23 16:50 56 * @time :2023/8/23 16:50
  57 + * @param :is_video_keyword:1->生成视频的关键字
57 */ 58 */
58 public function keywordSave(){ 59 public function keywordSave(){
59 $this->param = $this->handleSaveParam($this->param); 60 $this->param = $this->handleSaveParam($this->param);