service/vendor/library/wsign/signature_test.go

10 lines
199 B
Go
Raw Normal View History

2023-12-21 22:17:40 +08:00
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)
}