feat: 更新接口默认就是按照字段更新
This commit is contained in:
@@ -47,6 +47,7 @@ class Settings(BaseSettings):
|
||||
|
||||
file_save_path: str = Field(..., env='FILE_SAVE_PATH')
|
||||
file_public_path: str = Field(..., env='FILE_PUBLIC_PATH')
|
||||
default_update_by_fields: bool = Field(..., env='DEFAULT_UPDATE_BY_FIELDS')
|
||||
|
||||
class Config:
|
||||
env_file = ".env"
|
||||
|
||||
Reference in New Issue
Block a user