refactor: clean code

This commit is contained in:
Fu Diwei
2024-12-28 16:59:36 +08:00
parent 416f5e0986
commit cb7a465d6c
31 changed files with 135 additions and 108 deletions

View File

@@ -21,7 +21,7 @@ type Uploader interface {
// 表示证书上传结果的数据结构,包含上传后的证书 ID、名称和其他数据。
type UploadResult struct {
CertId string `json:"certId"`
CertName string `json:"certName"`
CertData map[string]any `json:"certData,omitempty"`
CertId string `json:"certId"`
CertName string `json:"certName"`
ExtendedData map[string]any `json:"extendedData,omitempty"`
}