feat: update audit platform workspace
This commit is contained in:
@@ -27,6 +27,8 @@ class EntryModuleCreateDTO(BaseModel):
|
||||
description: str | None = Field(None, description="模块描述")
|
||||
path: str | None = Field(None, description="前端路由路径")
|
||||
route_path: str | None = Field(None, description="前端跳转路径")
|
||||
menu_profile: str | None = Field(None, description="菜单模板:document_review/contract/govdoc/custom")
|
||||
features: list[str] | None = Field(None, description="启用功能编码列表")
|
||||
areas: list[EntryModuleAreaDTO] | None = Field(None, description="历史地区配置(兼容字段,建议改用 tenants)")
|
||||
tenants: list[EntryModuleTenantDTO] | None = Field(None, description="租户配置")
|
||||
|
||||
@@ -38,5 +40,7 @@ class EntryModuleUpdateDTO(BaseModel):
|
||||
description: str | None = Field(None, description="模块描述")
|
||||
path: str | None = Field(None, description="前端路由路径")
|
||||
route_path: str | None = Field(None, description="前端跳转路径")
|
||||
menu_profile: str | None = Field(None, description="菜单模板:document_review/contract/govdoc/custom")
|
||||
features: list[str] | None = Field(None, description="启用功能编码列表")
|
||||
areas: list[EntryModuleAreaDTO] | None = Field(None, description="历史地区配置(兼容字段,建议改用 tenants)")
|
||||
tenants: list[EntryModuleTenantDTO] | None = Field(None, description="租户配置")
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
"""企查查 DTO。"""
|
||||
|
||||
from pydantic import BaseModel, Field
|
||||
|
||||
|
||||
class QichachaCompanyQueryDTO(BaseModel):
|
||||
"""企业查询请求。"""
|
||||
|
||||
keyword: str = Field(..., min_length=2, max_length=200, description="企业名称或统一社会信用代码")
|
||||
forceRefresh: bool = Field(False, description="是否强制刷新缓存")
|
||||
|
||||
|
||||
class QichachaBatchQueryDTO(BaseModel):
|
||||
"""批量企业查询请求。"""
|
||||
|
||||
keywords: list[str] = Field(..., min_length=1, max_length=10, description="企业名称或统一社会信用代码列表")
|
||||
forceRefresh: bool = Field(False, description="是否强制刷新缓存")
|
||||
Reference in New Issue
Block a user