声明翻译的多语言

This commit is contained in:
2025-05-22 17:02:26 +08:00
parent 246929ca6b
commit 9405c96677
2 changed files with 7 additions and 1 deletions
@@ -56,4 +56,10 @@ class VehicleNewTraitService extends BaseService
// }
];
}
// 声明需要多语言翻译
protected array $translatable = [
'title',
'content',
];
}