fix api
This commit is contained in:
@@ -29,7 +29,6 @@ func SetupGormCache(db *gorm.DB, cacheService interfaces.CacheService, cfg *conf
|
||||
|
||||
// 配置启用缓存的表
|
||||
EnabledTables: []string{
|
||||
"users",
|
||||
"product",
|
||||
"product_category",
|
||||
"enterprise_info_submit_records",
|
||||
@@ -90,7 +89,6 @@ func GetCacheConfig(cfg *config.Config) cache.CacheConfig {
|
||||
InvalidateDelay: 50 * time.Millisecond,
|
||||
|
||||
EnabledTables: []string{
|
||||
"users",
|
||||
"product",
|
||||
"product_category",
|
||||
"enterprise_info_submit_records",
|
||||
@@ -122,7 +120,6 @@ func GetCacheConfig(cfg *config.Config) cache.CacheConfig {
|
||||
InvalidateDelay: 200 * time.Millisecond,
|
||||
|
||||
EnabledTables: []string{
|
||||
"users",
|
||||
"product",
|
||||
"product_category",
|
||||
"enterprise_info_submit_records",
|
||||
|
||||
@@ -192,6 +192,7 @@ func (s *SignFlowService) buildPartyBSigner(fileID, signerAccount, signerName, t
|
||||
PositionX: 450,
|
||||
PositionY: 430,
|
||||
},
|
||||
OrgSealBizTypes: "PUBLIC",
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
@@ -30,10 +30,10 @@ type FillTemplateResponse struct {
|
||||
} `json:"data"`
|
||||
}
|
||||
type FillTemplate struct {
|
||||
FileID string `json:"fileId"` // 生成的文件ID
|
||||
FileDownloadUrl string `json:"fileDownloadUrl"` // 文件下载URL
|
||||
FileName string `json:"fileName"` // 文件名
|
||||
TemplateID string `json:"templateId"` // 模板ID
|
||||
FileID string `json:"fileId"` // 生成的文件ID
|
||||
FileDownloadUrl string `json:"fileDownloadUrl"` // 文件下载URL
|
||||
FileName string `json:"fileName"` // 文件名
|
||||
TemplateID string `json:"templateId"` // 模板ID
|
||||
FillTime time.Time `json:"fillTime"` // 填写时间
|
||||
}
|
||||
|
||||
@@ -76,6 +76,7 @@ type SignFlowConfig struct {
|
||||
// RedirectConfig 重定向配置
|
||||
type RedirectConfig struct {
|
||||
RedirectUrl string `json:"redirectUrl"` // 重定向URL
|
||||
RedirectDelayTime int64 `json:"redirectDelayTime"` //重定向时间
|
||||
}
|
||||
|
||||
// AuthConfig 认证配置
|
||||
@@ -164,6 +165,7 @@ type NormalSignFieldConfig struct {
|
||||
AutoSign bool `json:"autoSign,omitempty"` // 是否自动签署
|
||||
SignFieldStyle int `json:"signFieldStyle"` // 签署区样式:1-普通签章,2-骑缝签章
|
||||
SignFieldPosition *SignFieldPosition `json:"signFieldPosition"` // 签署区位置
|
||||
OrgSealBizTypes string `json:"orgSealBizTypes"`
|
||||
}
|
||||
|
||||
// SignFieldPosition 签署区位置
|
||||
|
||||
Reference in New Issue
Block a user