Skip to content

Commit b5d08a2

Browse files
committed
fix gofmt
1 parent a9c249d commit b5d08a2

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

officialaccount/js/js.go

-2
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,10 @@ func (js *Js) GetConfig(uri string) (config *Config, err error) {
4949
if err != nil {
5050
return
5151
}
52-
5352
nonceStr := util.RandomStr(16)
5453
timestamp := util.GetCurrTS()
5554
str := fmt.Sprintf("jsapi_ticket=%s&noncestr=%s&timestamp=%d&url=%s", ticketStr, nonceStr, timestamp, uri)
5655
sigStr := util.Signature(str)
57-
5856
config.AppID = js.AppID
5957
config.NonceStr = nonceStr
6058
config.Timestamp = timestamp

0 commit comments

Comments
 (0)