master #14

Merged
sinhluu merged 10 commits from master into develop 2023-10-25 02:20:12 +00:00
1 changed files with 2 additions and 1 deletions
Showing only changes of commit a929e52324 - Show all commits

View File

@ -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))))
}