This commit is contained in:
Mrx
2026-06-11 18:00:07 +08:00
parent 47ade3de94
commit 1c7b00e29c
3 changed files with 6 additions and 5 deletions

View File

@@ -520,8 +520,8 @@ type QYGL2YSBReq struct {
type QYGLDG77Req struct { type QYGLDG77Req struct {
EntName string `json:"ent_name" validate:"required,min=1,validEnterpriseName"` EntName string `json:"ent_name" validate:"required,min=1,validEnterpriseName"`
AccountNo string `json:"account_no" validate:"required,min=1,"` AccountNo string `json:"account_no" validate:"required,min=1"`
AccountBank string `json:"account_bank" validate:"required,min=1,"` AccountBank string `json:"account_bank" validate:"required,min=1"`
} }
type IVYZ7C9DReq struct { type IVYZ7C9DReq struct {

View File

@@ -536,7 +536,7 @@ func (s *FormConfigServiceImpl) generateFieldLabel(jsonTag string) string {
"marital_type": "婚姻状况类型", "marital_type": "婚姻状况类型",
"auth_authorize_file_base64": "PDF授权文件Base64编码≤500KB仅PDF", "auth_authorize_file_base64": "PDF授权文件Base64编码≤500KB仅PDF",
"account_no": "企业账户", "account_no": "企业账户",
"account_bank": "开户行", "account_bank": "开户行:如中国银行股份有限公司,查询失败请查看支持银行列表或使用主银行公司。",
} }
if label, exists := labelMap[jsonTag]; exists { if label, exists := labelMap[jsonTag]; exists {
@@ -681,7 +681,7 @@ func (s *FormConfigServiceImpl) generatePlaceholder(jsonTag string, fieldType st
"marital_type": "请选择婚姻状况类型", "marital_type": "请选择婚姻状况类型",
"auth_authorize_file_base64": "请输入PDF文件的Base64编码字符串", "auth_authorize_file_base64": "请输入PDF文件的Base64编码字符串",
"account_no": "请输入企业账户", "account_no": "请输入企业账户",
"account_bank": "请输入开户行", "account_bank": "请输入开户行:如中国银行股份有限公司,查询失败请查看支持银行列表或使用主银行公司。",
} }
if placeholder, exists := placeholderMap[jsonTag]; exists { if placeholder, exists := placeholderMap[jsonTag]; exists {
@@ -760,7 +760,7 @@ func (s *FormConfigServiceImpl) generateDescription(jsonTag string, validation s
"marital_type": "婚姻状况类型10-未登记无登记记录20-已婚30-丧偶40-离异", "marital_type": "婚姻状况类型10-未登记无登记记录20-已婚30-丧偶40-离异",
"auth_authorize_file_base64": "请输入PDF文件的Base64编码字符串", "auth_authorize_file_base64": "请输入PDF文件的Base64编码字符串",
"account_no": "请输入企业账户", "account_no": "请输入企业账户",
"account_bank": "请输入开户行", "account_bank": "请输入开户行:如中国银行股份有限公司,查询失败请查看支持银行列表或使用主银行公司。",
} }
if desc, exists := descMap[jsonTag]; exists { if desc, exists := descMap[jsonTag]; exists {

View File

@@ -25,6 +25,7 @@ func ProcessQYGLDG77Request(ctx context.Context, params []byte, deps *processors
"accountNo": paramsDto.AccountNo, "accountNo": paramsDto.AccountNo,
"accountBank": paramsDto.AccountBank, "accountBank": paramsDto.AccountBank,
} }
apiPath := "/v2/company/dkrz/check" // 接口路径,根据数脉文档填写(如 v4/xxx apiPath := "/v2/company/dkrz/check" // 接口路径,根据数脉文档填写(如 v4/xxx
respBytes, err := deps.ShumaiService.CallAPIForm(ctx, apiPath, reqFormData) respBytes, err := deps.ShumaiService.CallAPIForm(ctx, apiPath, reqFormData)
if err != nil { if err != nil {