You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
go-library/service/kuaidi100/sign.go

11 lines
213 B

package kuaidi100
import (
"fmt"
"github.com/dtapps/go-library/utils/gomd5"
)
func (c *Client) getSign(param string) string {
return gomd5.ToUpper(fmt.Sprintf("%s%s%s", param, c.GetKey(), c.GetCustomer()))
}