소스 검색

add Mq::publish('content')

visuddhinanda 3 년 전
부모
커밋
b2f16ae7a9
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      app/Http/Controllers/SentenceController.php

+ 1 - 0
app/Http/Controllers/SentenceController.php

@@ -370,6 +370,7 @@ class SentenceController extends Controller
                             'para'=>$param[1],
                             'channel'=>$channelId,
                             ]);
+        Mq::publish('content',new SentResource($sent));
         return $this->ok(new SentResource($sent));
     }