diff --git a/backend/system/code_template/backend/api.py b/backend/system/code_template/backend/api.py index fa472cf9d2035271f7490cda298eacbf53ea625c..f7efcef55ef90aba85277bb06721621d89b02b04 100644 --- a/backend/system/code_template/backend/api.py +++ b/backend/system/code_template/backend/api.py @@ -44,7 +44,7 @@ class {RuleConvert.to_upper_camel_case(api_info.code)}SchemaIn(ModelSchema): class Config: model = {RuleConvert.to_upper_camel_case(api_info.code)} - model_exclude = ['create_datetime', 'update_datetime', 'belong_dept', 'modifier', 'creator', 'creator', 'id'] + model_exclude = ['create_datetime', 'update_datetime', 'belong_dept', 'modifier', 'creator', 'id'] # 设置响应字段