修改自动推广的相关任务

This commit is contained in:
wangjinlei
2026-04-24 13:13:06 +08:00
parent 48b2335063
commit e1bf8c0189
8 changed files with 603 additions and 89 deletions

View File

@@ -91,8 +91,8 @@ class ExpertFinder extends Base
public function batchFillCountry(){
$service = new ExpertFinderService();
$chain1 = $service->enqueueNextCountryFill(0, 'FetchExpertCity', '');
$chain2 = $service->enqueueNextCountryFill(0, 'FetchExpertCity1', 'http://125.39.141.154:10002/v1/chat/completions');
// $chain1 = $service->enqueueNextCountryFill(0, 'FetchExpertCity', '');
$chain2 = $service->enqueueNextCountryFill(0, 'FetchExpertCityOne', 'http://125.39.141.154:10002/v1/chat/completions');
$pending = Db::name('expert')
->where('affiliation', '<>', '')
@@ -101,7 +101,7 @@ class ExpertFinder extends Base
->count();
return jsonSuccess([
'chain1_started' => $chain1,
// 'chain1_started' => $chain1,
'chain2_started' => $chain2,
'pending' => $pending,
]);