正在显示
1 个修改的文件
包含
1 行增加
和
0 行删除
| @@ -55,6 +55,7 @@ class InitKeywordCommon extends Command | @@ -55,6 +55,7 @@ class InitKeywordCommon extends Command | ||
| 55 | $text = Gpt::instance()->openai_chat_qqs($info['ai']); | 55 | $text = Gpt::instance()->openai_chat_qqs($info['ai']); |
| 56 | $text = Common::deal_keywords($text); | 56 | $text = Common::deal_keywords($text); |
| 57 | $text = Common::deal_str($text); | 57 | $text = Common::deal_str($text); |
| 58 | + dd($text); | ||
| 58 | preg_match_all('/\{[^{}]*\}/', $text, $matches); | 59 | preg_match_all('/\{[^{}]*\}/', $text, $matches); |
| 59 | if(!empty($text)){ | 60 | if(!empty($text)){ |
| 60 | $data = []; | 61 | $data = []; |
-
请 注册 或 登录 后发表评论