Skip to content

Commit e30dc65

Browse files
authored
Merge pull request #239 from tencentyun/feature_jojoliang_8eae69cb
DocPreviewHTMLOptions 增加weboffice_url和tokenuid参数
2 parents 2f05c98 + 219ce07 commit e30dc65

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

ci_doc.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -345,6 +345,8 @@ func (s *CIService) CIDocCompare(ctx context.Context, opt *CIDocCompareOptions)
345345
type DocPreviewHTMLOptions struct {
346346
DstType string `url:"dstType,omitempty"`
347347
SrcType string `url:"srcType,omitempty"`
348+
WebofficeUrl string `url:"weboffice_url,omitempty"`
349+
TokenUid string `url:"tokenuid,omitempty"`
348350
Sign string `url:"sign,omitempty"`
349351
Copyable string `url:"copyable,omitempty"`
350352
HtmlParams *HtmlParams `url:"htmlParams,omitempty"`

cos.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ import (
2424

2525
const (
2626
// Version current go sdk version
27-
Version = "0.7.47"
27+
Version = "0.7.48"
2828
UserAgent = "cos-go-sdk-v5/" + Version
2929
contentTypeXML = "application/xml"
3030
defaultServiceBaseURL = "http://service.cos.myqcloud.com"

0 commit comments

Comments
 (0)