This commit is contained in:
2025-07-17 09:36:46 +08:00
parent 9a13c23788
commit 416050a387
9 changed files with 156 additions and 98 deletions
+2 -2
View File
@@ -11,7 +11,7 @@ class Channel extends Model
*
* @var string
*/
protected $table = 'channel';
protected $table = 'inquiry_channel';
/**
* The primary key associated with the table.
@@ -42,7 +42,7 @@ class Channel extends Model
public static function getAll()
{
$list = self::get()->select('id','name','name_en','status')->where('status',0)->toArray();
$list = self::get()->select('id','name','name_en','status')->where('status',1)->toArray();
return $list;
}
}