v0.1
This commit is contained in:
@@ -34,8 +34,8 @@ func (s *FileOpsService) UpdateConfig(config *Config) {
|
||||
func (s *FileOpsService) DownloadSignedFile(signFlowId string) (*DownloadSignedFileResponse, error) {
|
||||
fmt.Println("开始下载已签署文件及附属材料...")
|
||||
|
||||
// 发送API请求
|
||||
urlPath := fmt.Sprintf("/v3/sign-flow/%s/attachments", signFlowId)
|
||||
// 按照最新e签宝文档,接口路径应为 /v3/sign-flow/{signFlowId}/file-download-url
|
||||
urlPath := fmt.Sprintf("/v3/sign-flow/%s/file-download-url", signFlowId)
|
||||
responseBody, err := s.httpClient.Request("GET", urlPath, nil)
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("下载已签署文件失败: %v", err)
|
||||
|
||||
Reference in New Issue
Block a user