refactor: 删除仅有空构造器的 public init() {}——编译器自动提供无参构造

删除(类无其他构造器):
- SimApiBaseModel / SimApiLoggerProvider / SimApiSignProviderBase / AesBodyProviderBase
- SimApiResponseFilter / SimApiAuthCenterOptions / SimApiExceptionOptions
- SimApiHttpClientOptions / SimApiOptions / SimApiSynapseOptions / SimApiRouteOptions
- SimApiStorageOptions / SimApiRequestLogOptions / SimApiJobServer / SimApiAuthOption
- AuthDto 5 个纯 POCO(AppAndProfileItem/ConfirmResponse/LoginInfoResponse/
  GroupRelatedItem/GroupDetailTreeNode)/ AesBodyRequest

保留(有带参构造器,空 init 是反序列化/绑定必需):
- GetCodeResponse / PermissionItem / SimApiBaseRequest 系列 / PageResponse
- SimApiLoginItem / SimApiDocGroup / SimApiStorage 相关 / 各 DTO
This commit is contained in:
2026-08-18 00:59:48 +08:00
parent 6e6b21ff83
commit ea31bd9b6a
18 changed files with 9 additions and 39 deletions
-10
View File
@@ -22,8 +22,6 @@ public class AppAndProfileItem {
public var _name: String = ""
public var _image: ?String = None
public var _description: ?String = None
public init() {}
}
/**
@@ -35,8 +33,6 @@ public class ConfirmResponse {
public var _profileId: String = ""
public var _scene: ?String = None
public var _data: ?HashMap<String, Any> = None
public init() {}
}
/**
@@ -49,8 +45,6 @@ public class LoginInfoResponse {
public var _name: String = ""
public var _image: ?String = None
public var _description: ?String = None
public init() {}
}
/**
@@ -81,8 +75,6 @@ public class GroupRelatedItem {
public var _isOwner: Bool = false
public var _isAdmin: Bool = false
public var _isMember: Bool = false
public init() {}
}
/**
@@ -95,8 +87,6 @@ public class GroupDetailTreeNode {
public var _description: ?String = None
public var _sort: Int64 = 0
public var _children: Array<GroupDetailTreeNode> = []
public init() {}
}
/**