This commit is contained in:
2025-07-30 15:39:41 +08:00
parent 269bd7168e
commit a47cdaef0f
+2 -1
View File
@@ -84,7 +84,8 @@ class CustomerService
$query->onlyTrashed();
}
if ($seas == 'seas') {
$corpId = Corp::where('abbr', $params['corp_abbr'])->first()->value('id');
$corp = Corp::where('abbr', $params['corp_abbr'])->first();
$corpId = $corp?$corp->id:0;
if($corpId == 1){
$query->whereIn('channel_id', [1,2,3,4,5,6,7,8]);
} elseif($corpId == 3) {