修改原有框架中英文映射

This commit is contained in:
2026-03-17 18:09:10 +08:00
parent e7b8f4cae9
commit bdf50e61f5
81 changed files with 1956 additions and 735 deletions

View File

@@ -35,7 +35,7 @@ class SystemDictDataLogic extends BaseLogic
{
$type = SystemDictType::where('id', $data['type_id'])->findOrEmpty();
if ($type->isEmpty()) {
throw new ApiException('字典类型不存在');
throw new ApiException('Dict type not found');
}
$data['code'] = $type->code;
$model = $this->model->create($data);