This commit is contained in:
Mrx
2026-05-27 14:16:41 +08:00
parent f2c4618649
commit b16e68f3bd

View File

@@ -519,8 +519,8 @@ func (s *FormConfigServiceImpl) generateFieldLabel(jsonTag string) string {
"plate_color": "车牌颜色",
"marital_type": "婚姻状况类型",
"auth_authorize_file_base64": "PDF授权文件Base64编码≤500KB仅PDF",
"accountNo": "企业账户",
"accountBank": "开户行",
"account_no": "企业账户",
"account_bank": "开户行",
}
if label, exists := labelMap[jsonTag]; exists {
@@ -587,8 +587,8 @@ func (s *FormConfigServiceImpl) generateExampleValue(fieldType reflect.Type, jso
"plate_color": "0",
"marital_type": "10",
"auth_authorize_file_base64": "JVBERi0xLjQKJcTl8uXr...示例PDF的Base64编码",
"accountNo": "6222021234567890123",
"accountBank": "中国工商银行",
"account_no": "6222021234567890123",
"account_bank": "中国工商银行",
}
if example, exists := exampleMap[jsonTag]; exists {
@@ -664,8 +664,8 @@ func (s *FormConfigServiceImpl) generatePlaceholder(jsonTag string, fieldType st
"plate_color": "请输入车牌颜色",
"marital_type": "请选择婚姻状况类型",
"auth_authorize_file_base64": "请输入PDF文件的Base64编码字符串",
"accountNo": "请输入企业账户",
"accountBank": "请输入开户行",
"account_no": "请输入企业账户",
"account_bank": "请输入开户行",
}
if placeholder, exists := placeholderMap[jsonTag]; exists {
@@ -743,8 +743,8 @@ func (s *FormConfigServiceImpl) generateDescription(jsonTag string, validation s
"plate_color": "车牌颜色",
"marital_type": "婚姻状况类型10-未登记无登记记录20-已婚30-丧偶40-离异",
"auth_authorize_file_base64": "请输入PDF文件的Base64编码字符串",
"accountNo": "请输入企业账户",
"accountBank": "请输入开户行",
"account_no": "请输入企业账户",
"account_bank": "请输入开户行",
}
if desc, exists := descMap[jsonTag]; exists {