diff --git a/configs/env.development.yaml b/configs/env.development.yaml index 37818ef..3601998 100644 --- a/configs/env.development.yaml +++ b/configs/env.development.yaml @@ -31,7 +31,7 @@ storage: access_key: "AO6u6sDWi6L9TsPfr4awC7FYP85JTjt3bodZACCM" secret_key: "2fjxweGtSAEaUdVgDkWEmN7JbBxHBQDv1cLORb9_" bucket: "tianyuanapi" - domain: "https://file.haiyudata.com" + domain: "https://file.tianyuanapi.com" # =========================================== # 🔍 OCR服务配置 - 百度智能云 diff --git a/configs/env.production.yaml b/configs/env.production.yaml index a478c64..af55d8d 100644 --- a/configs/env.production.yaml +++ b/configs/env.production.yaml @@ -61,7 +61,7 @@ storage: access_key: "AO6u6sDWi6L9TsPfr4awC7FYP85JTjt3bodZACCM" secret_key: "2fjxweGtSAEaUdVgDkWEmN7JbBxHBQDv1cLORb9_" bucket: "tianyuanapi" - domain: "https://file.haiyudata.com" + domain: "https://file.tianyuanapi.com" # =========================================== # 🔍 OCR服务配置 - 百度智能云 diff --git a/internal/shared/esign/signflow_service.go b/internal/shared/esign/signflow_service.go index 9a14d5d..96736c4 100644 --- a/internal/shared/esign/signflow_service.go +++ b/internal/shared/esign/signflow_service.go @@ -172,6 +172,18 @@ func (s *SignFlowService) buildPartyASigner(fileID, signerAccount, signerName, t OrgSealBizTypes: "PUBLIC", }, }, + { + CustomBizNum: "甲方骑缝章", // 建议设唯一标识,便于调试 + FileId:fileID, + NormalSignFieldConfig: &NormalSignFieldConfig{ + AutoSign: false, + SignFieldStyle: SignFieldStyleSeam, // 必须为 2(Edges) + SignFieldPosition: &SignFieldPosition{ + AcrossPageMode: "ALL", // 覆盖全部页面(推荐) + PositionY:694.0, // 您指定的 Y 坐标(float64) + }, + }, + }, }, } } @@ -203,7 +215,7 @@ func (s *SignFlowService) buildPartyBSigner(fileID string) SignerInfo { SignFieldStyle: SignFieldStyleSeam, // 必须为 2(Edges) SignFieldPosition: &SignFieldPosition{ AcrossPageMode: "ALL", // 覆盖全部页面(推荐) - PositionY:694.0, // 您指定的 Y 坐标(float64) + PositionY:554.0, // 您指定的 Y 坐标(float64) }, }, },