jtexpress #13
|
@ -7,6 +7,7 @@ import (
|
|||
|
||||
"github.com/go-resty/resty/v2"
|
||||
|
||||
"git.selly.red/Selly-Modules/3pl/util/base64"
|
||||
"git.selly.red/Selly-Modules/3pl/util/pjson"
|
||||
)
|
||||
|
||||
|
@ -115,5 +116,5 @@ func (c *Client) getDigest(data string) string {
|
|||
h := md5.New()
|
||||
|
||||
io.WriteString(h, s)
|
||||
return fmt.Sprintf("%x", h.Sum(nil))
|
||||
return base64.Encode([]byte(fmt.Sprintf("%x", h.Sum(nil))))
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue