|
@@ -20,6 +20,7 @@ use App\Models\Project\Project; |
|
@@ -20,6 +20,7 @@ use App\Models\Project\Project; |
|
20
|
use App\Models\Project\ProjectAiSetting;
|
20
|
use App\Models\Project\ProjectAiSetting;
|
|
21
|
use App\Models\Visit\Visit;
|
21
|
use App\Models\Visit\Visit;
|
|
22
|
use App\Models\WebSetting\WebSetting;
|
22
|
use App\Models\WebSetting\WebSetting;
|
|
|
|
23
|
+use App\Services\AiBlogService;
|
|
23
|
use App\Services\ProjectServer;
|
24
|
use App\Services\ProjectServer;
|
|
24
|
use Illuminate\Console\Command;
|
25
|
use Illuminate\Console\Command;
|
|
25
|
use Illuminate\Support\Facades\Artisan;
|
26
|
use Illuminate\Support\Facades\Artisan;
|
|
@@ -42,7 +43,7 @@ class lyhDemo extends Command |
|
@@ -42,7 +43,7 @@ class lyhDemo extends Command |
|
42
|
protected $description = '更新路由';
|
43
|
protected $description = '更新路由';
|
|
43
|
|
44
|
|
|
44
|
public function handle(){
|
45
|
public function handle(){
|
|
45
|
- $projectIds = DB::table('gl_project_ai_setting')
|
46
|
+ $projectIds = DB::table('gl_project_ai_setting_copy1')
|
|
46
|
->whereIn('mch_id', function ($query) {
|
47
|
->whereIn('mch_id', function ($query) {
|
|
47
|
$query->select('mch_id')
|
48
|
$query->select('mch_id')
|
|
48
|
->from('gl_project_ai_setting')
|
49
|
->from('gl_project_ai_setting')
|