Skip to content

Commit

Permalink
Merge branch 'v2' into work-js-sdk
Browse files Browse the repository at this point in the history
  • Loading branch information
mahongran authored Jan 14, 2025
2 parents 3f10bdb + 9c87d1c commit a19cd39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion work/jsapi/jsapi.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ func (js *Js) GetConfig(uri string) (config *Config, err error) {
}
config.NonceStr = util.RandomStr(16)
config.Timestamp = util.GetCurrTS()
str := fmt.Sprintf("jsapi_ticket=%s&noncestr=%s&timestamp=%d&url=%s", ticketStr, config.NonceStr, config.Timestamp, uri)
str := fmt.Sprintf("jsapi_ticket=%s&noncestr=%s&timestamp=%d&url=%s", ticketStr, config.NonceStr, config.Timestamp, uri)

Check failure on line 51 in work/jsapi/jsapi.go

View workflow job for this annotation

GitHub Actions / golangci-lint (1.17)

File is not `gofmt`-ed with `-s` (gofmt)
config.Signature = util.Signature(str)
return
}
Expand Down

0 comments on commit a19cd39

Please sign in to comment.