This commit is contained in:
2025-05-22 09:26:19 +08:00
parent f8fa2bf3a9
commit 80b6ea2076
42 changed files with 2571 additions and 1 deletions
+29 -1
View File
@@ -38,7 +38,35 @@ return [
'location' => [
'translation_model' => \app\console\model\LocationTranslationModel::class,
'foreign_key' => 'location_id',
]
],
'seo' => [
'translation_model' => \app\console\model\SeoInfoTranslationModel::class,
'foreign_key' => 'seo_id',
],
'drafts' => [
'translation_model' => \app\applet\model\DraftsDataTranslationModel::class,
'foreign_key' => 'drafts_id',
],
'vehicleNew' => [
'translation_model' => \app\console\model\VehicleNewTranslationModel::class,
'foreign_key' => 'vehicle_id',
],
'vehicleNewAsked' => [
'translation_model' => \app\console\model\VehicleNewAskedTranslationModel::class,
'foreign_key' => 'asked_id',
],
'vehicleNewTrait' => [
'translation_model' => \app\console\model\VehicleNewTraitTranslationModel::class,
'foreign_key' => 'trait_id',
],
'vehicleNewAlbum' => [
'translation_model' => \app\console\model\VehicleNewAlbumTranslationModel::class,
'foreign_key' => 'album_id',
],
'vehicleNewContent' => [
'translation_model' => \app\console\model\VehicleNewContentTranslationModel::class,
'foreign_key' => 'content_id',
],
],
// 默认支持的目标语种列表