service/vendor/library/wsign/signature_test.go

10 lines
199 B
Go

package wsign
import "testing"
func TestCalcSignature(t *testing.T) {
d := `{"b_mid":111,"b_did":"abc","b_dt":0,"b_token":"xxxxxxxx","other":"其他"}`
sign, _ := CalcSignature(d)
t.Log(sign)
}